80 lines
2.5 KiB
XML
80 lines
2.5 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="3501" compatibleVersion="" />
|
|
<attributes>
|
|
<name>queryString</name>
|
|
<datatype>supersql</datatype>
|
|
<default>SELECT 1 = 1</default>
|
|
<intro>查询参数</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>countString</name>
|
|
<datatype>supersql</datatype>
|
|
<default>SELECT 1 = 1</default>
|
|
<intro>查询条数</intro>
|
|
</attributes>
|
|
<UsePage>True</UsePage>
|
|
<IsXsltSql>false</IsXsltSql>
|
|
<IsXsltCountSql>false</IsXsltCountSql>
|
|
<LabelSqlString>@queryString</LabelSqlString>
|
|
<LabelSqlCount>@countString</LabelSqlCount>
|
|
<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="queryString" />
|
|
<xsl:param name="countString" />
|
|
<xsl:output method="html" />
|
|
<xsl:template match="/">
|
|
<div class="GovDir">
|
|
<table width="100%" cellspacing="0" cellpadding="0" class="wjb">
|
|
<tbody>
|
|
<tr>
|
|
<td width="160" class="headsqh">索引号</td>
|
|
<td class="headtitle">信息名称</td>
|
|
<td width="130" class="headwh">文号</td>
|
|
<td width="100" class="headwjtime">产生日期</td>
|
|
<td width="100" class="headgklx">公开类型</td>
|
|
</tr>
|
|
<xsl:for-each select="/NewDataSet/Table">
|
|
<tr>
|
|
<td class="sqh">
|
|
<xsl:value-of select="IndexNumber"/>
|
|
</td>
|
|
<td class="title">
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
<xsl:value-of select="pe:InstallDir()"/>Government/PublicInfoShow.aspx?ID=<xsl:value-of select="ID"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="Title"/>
|
|
</a>
|
|
</td>
|
|
<td class="wh">
|
|
<xsl:value-of select="DocumentNumber"/>
|
|
</td>
|
|
<td class="wjtime">
|
|
<xsl:value-of select="pe:FormatDate(PublicTime,'yyyy-mm-dd')"/>
|
|
</td>
|
|
<td class="gklx">
|
|
<xsl:choose>
|
|
<xsl:when test="PublicType = 1">
|
|
主动公开
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
申请公开
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</xsl:template>
|
|
</xsl:stylesheet>]]></LabelTemplate>
|
|
</root> |