有关xsl的循环,急!!!

我的XML

1<dataroot>   
2&lt;別送1&gt; A<!--別送1-->   
3&lt;別送2&gt; B<!--別送2-->   
4&lt;別送3&gt; C<!--別送3-->
5</dataroot>

想用循环显示出其中的A,B,C该怎么做?
请指教!多谢!!
---------------------------------------------------------------

1<xsl:template match="DataRoot">
2<xsl:for-each select="*">
3<xsl:value-of select="."></xsl:value-of>
4</xsl:for-each>
5</xsl:template>
Published At
Categories with Web编程
comments powered by Disqus