请指导我离开这个问题…
谢谢&问候,
P.SARAVANAN
用法示例:
<xsl:template match="node()|@*"> <xsl:if test="not(ancestor::*)"> <xsl:message>The root element is "<xsl:value-of select="name()"/>".</xsl:message> </xsl:if> <xsl:copy> <xsl:apply-templates select="node()|@*"/> </xsl:copy> </xsl:template>