77 lines
2.2 KiB
XML
77 lines
2.2 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="4008" compatibleVersion="" />
|
|
<attributes>
|
|
<name>outputQty</name>
|
|
<datatype>int</datatype>
|
|
<default>20</default>
|
|
<intro>输出记录数</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>titleLength</name>
|
|
<datatype>int</datatype>
|
|
<default>40</default>
|
|
<intro>内容长度</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>bindStyle</name>
|
|
<datatype>string</datatype>
|
|
<default>普通式</default>
|
|
<intro>
|
|
</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>usePage</name>
|
|
<datatype>string</datatype>
|
|
<default>true</default>
|
|
<intro>是否分页</intro>
|
|
</attributes>
|
|
<IsXsltSql>false</IsXsltSql>
|
|
<IsXsltCountSql>false</IsXsltCountSql>
|
|
<LabelSqlString>@queryCond</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:param name="usePage" />
|
|
<xsl:param name="bindStyle" />
|
|
<xsl:param name="outputQty" />
|
|
<xsl:param name="titleLength" />
|
|
<xsl:output method="html" />
|
|
<xsl:template match="/NewDataSet/Table">
|
|
<p>
|
|
<div class="article_content">
|
|
【<xsl:value-of select="Speaker"/>】 [<xsl:value-of select="pe:FormatDate(InputTime,'yyyy-mm-dd hh:mm:ff')"/>]
|
|
</div>
|
|
<div class="article_content">
|
|
<xsl:value-of select="pe:CutText(Content,$titleLength,'...')"/>
|
|
</div>
|
|
</p>
|
|
</xsl:template>
|
|
</xsl:transform>]]></LabelTemplate>
|
|
<attributes>
|
|
<name>interviewId</name>
|
|
<datatype>int</datatype>
|
|
<default>1</default>
|
|
<intro>访谈ID</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>queryCond</name>
|
|
<datatype>supersql</datatype>
|
|
<default>select 1</default>
|
|
<intro>SQL查询</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>queryCount</name>
|
|
<datatype>supersql</datatype>
|
|
<default>
|
|
</default>
|
|
<intro>SQL统计</intro>
|
|
</attributes>
|
|
<UsePage>True</UsePage>
|
|
<LabelSqlCount>@queryCount</LabelSqlCount>
|
|
</root> |