再问一个问题:请看下面:问题是:两个如何区分??? 这种写法不对,该如何写???
请看下面:问题是:两个<xsl:apply-templates select="HandNav/data"/>如何区分???
这种写法不对,该如何写???
<?xml version="1.0" encoding="GB2312"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns="http://www.w3.org/TR/REC-html40"
result-ns="">
<xsl:template>
<body match='/'>
id=<xsl:apply-templates select="HandNav/data"/> /////////
name=<xsl:apply-templates select="HandNav/data"/> /////////
</body>
</xsl:template>
<xsl:template match='HandNav/data'> ///
<xsl:value-of select="id"/>
</xsl:template>
<xsl:template match='HandNav/data'> ///
<xsl:apply-templates select="name"/>
</xsl:template>