加载中,请使用IE浏览器欣赏最佳效果。
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/project"> <xsl:for-each select="subject/option"> <xsl:sort select="id"/> <p><xsl:value-of select="count"/></p> </xsl:for-each> </xsl:template> </xsl:stylesheet>