41 lines
1.5 KiB
XML
41 lines
1.5 KiB
XML
<?xml version="1.0"?>
|
|
<root>
|
|
<LabelType>政务公开</LabelType>
|
|
<LabelIntro>
|
|
</LabelIntro>
|
|
<OutType>sin</OutType>
|
|
<LabelDataType>sql_sysquery</LabelDataType>
|
|
<EnabelAjax>False</EnabelAjax>
|
|
<attributes>
|
|
<name>themeId</name>
|
|
<datatype>supersql</datatype>
|
|
<default>1</default>
|
|
<intro>主题ID</intro>
|
|
</attributes>
|
|
<IsXsltSql>false</IsXsltSql>
|
|
<IsXsltCountSql>false</IsXsltCountSql>
|
|
<LabelSqlString>SELECT * FROM PE_GV_PublicInfoTheme WHERE ThemeId = @themeId</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">
|
|
<!--params-->
|
|
<xsl:output method="html" />
|
|
<xsl:param name="depth"/>
|
|
<xsl:template match="/NewDataSet/Table">
|
|
<xsl:if test="ParentId != ThemeId">
|
|
{PE.Label id="GOV_当前主题位置导航" themeId="<xsl:value-of select="ParentId"/>" depth="<xsl:value-of select="$depth + 1"/>" /}
|
|
</xsl:if>
|
|
<a> <xsl:attribute name="href">{PE.SiteConfig.ApplicationPath/}Government/PublicInfoList.aspx?ThemeId=<xsl:value-of select="ThemeId"/></xsl:attribute><xsl:value-of select="ThemeTitle"/></a>
|
|
<xsl:if test="$depth != 0">
|
|
<xsl:text disable-output-escaping="yes">&nbsp;>></xsl:text>
|
|
</xsl:if>
|
|
</xsl:template>
|
|
</xsl:stylesheet>]]>
|
|
</LabelTemplate>
|
|
<attributes>
|
|
<name>depth</name>
|
|
<datatype>supersql</datatype>
|
|
<default>0</default>
|
|
<intro>目录深度</intro>
|
|
</attributes>
|
|
</root> |