62,272
社区成员
发帖
与我相关
我的任务
分享
<xsl:for-each select="$externalDocument//Table">
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8" indent="no"/>
<xsl:param name="externalDocument"></xsl:param>
<xsl:template match="/">
<table border="0" cellpadding="0" cellspacing="0" style="height: 385px;">
<xsl:apply-templates select="Main"></xsl:apply-templates>
</table>
</xsl:template>
<xsl:template match="Main">
<tbody>
<tr>
<td id="contentscell" colspan="5">
<xsl:for-each select="Section">
<div class="contents" id="contents1">
<table border="0" width="100%" style=" height:100%">
<tr valign="top">
<td style=" width:100%" valign="top">
<fieldset style="border: 1px solid #C0C0C0;">
<table border="0" width="100%" style="height:100%; font-size: 9pt;">
<xsl:for-each select="Item">
<tr valign="top">
<td style=" width:5px">
</td>
<td>
<select ID="BindSourceConfigName" Name="BindSourceConfigName">
<option value="" selected="true">请选择... ...</option>
<xsl:for-each select="$externalDocument//Table">
<option>
<xsl:attribute name="value">
<xsl:value-of select="id"/>
</xsl:attribute>
<xsl:value-of select="showname"/>
</option>
</xsl:for-each>
</select>
</td>
<td>
</td>
</tr>
</xsl:for-each>
</table>
</fieldset>
</td>
<td>
<xsl:text disable-output-escaping="yes"> </xsl:text>
</td>
</tr>
</table>
</div>
</xsl:for-each>
</td>
</tr>
</tbody>
</xsl:template>
</xsl:stylesheet>