2012-05-03 53 views

回答

0

您可以通過使用對象節點來計算鏈接。 試試這個 - 如果你想所有的HTML <xsl:value-of select="count(/root/*)"/>

1

:一個節點等。無論他們(不只是在您的示例中的)

<xsl:template match="/"> 
    <xsl:value-of select="count(//html:a)"/> 
</xsl:template> 
相關問題