中国开发网: 论坛: 程序员情感CBD: 贴子 12437
pinxue: 还是得看规范呀
<xsl:for-each select="site/section">
<xsl:if test="position() mod 2 = 1">
<tr align="center" valign="top">
<td width="50%" class="topic_pane">
<xsl:value-of select="@name"/>
</td>
<td width="50%" class="topic_pane">
<xsl:value-of select="following::section/@name"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录