Files
2026-08-31 16:22:00 +08:00

34 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>WAP类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="3107" compatibleVersion="" />
<attributes>
<name>WapArticleId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>文章ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT * FROM PE_Wap_Article A WHERE WapArticleId=@WapArticleId</LabelSqlString>
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:transform version ="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes ="pe">
<xsl:output method="xml"/>
<xsl:param name="WapArticleId"/>
<xsl:template match="/">
<xsl:for-each select="/NewDataSet/Table">
<div class="article_title"><xsl:value-of select="Title"/></div>
<div class="article_time">发表日期:<xsl:value-of select='pe:FormatDate(UpdateTime,"yyyy-mm-dd")'/></div>
<div class="article_content">
<xsl:value-of disable-output-escaping="yes" select="Content"/>
</div>
</xsl:for-each>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
</root>