Files
ningbo/动易的标签库/标签库/博客类/获取用户博文分类名称.config
T
2026-08-31 16:22:00 +08:00

27 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>博客类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="2902" compatibleVersion="" />
<attributes>
<name>userCategoryId</name>
<datatype>sql.int</datatype>
<default>0</default>
<intro>分类ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP 1 CategoryName FROM PE_BG_UserCategory WHERE UserCategoryID=@userCategoryId</LabelSqlString>
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:param name="userCategoryId" />
<xsl:output method="html" />
<xsl:template match="/NewDataSet/Table">
<xsl:value-of select="CategoryName"/>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>