xsl显示for循环累加问题 在xsl中我想利用 <xsl:for-each select= "root/n "> 显示 全部的内容这个我知道用 <xsl:value-of select= ". "> ; 可以实现但如果内容里面不是一列,多列的情况,我只要得到一列,这个怎么实现呢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我以前也只是將 xsl轉為jsp,你看看我blog http://blog.csdn.net/iisgirl/article/details/6908519 问题解决了,谢谢楼上的贴上我的方法:xsl:variable name = "total2"> <xsl:for-each select="Order"> <xsl:value-of select="ID" /><xsl:text>,</xsl:text> </xsl:for-each> </xsl:variable> <input type="hidden" name="name2" id="name2"> <xsl:attribute name="value"> <xsl:value-of select="$total2"/> </xsl:attribute> </input> JNA中Native.loadLibrary第一个参数问题 Struts2异常问题 java.lang.OutOfMemoryError: Java heap space 请问哪些JSP的虚拟主机比较好? 关于学习汇总的小麻烦! Hibernate根据映射文件生成数据库表 谁有Struts+Spring+Hibernate的HelloWorld例子 sessionBean相互调用 请教要求支持10000并发用户访问的服务器配置方案?? TOMCAT4。1的配置问题 请朋友们帮忙! io流问题 关于hibernate query.list()无法返回查询结果 高手解救一下
http://blog.csdn.net/iisgirl/article/details/6908519
<xsl:for-each select="Order">
<xsl:value-of select="ID" /><xsl:text>,</xsl:text>
</xsl:for-each>
</xsl:variable>
<input type="hidden" name="name2" id="name2">
<xsl:attribute name="value">
<xsl:value-of select="$total2"/>
</xsl:attribute>
</input>