What this stands for in xsl? match=“@*|node()”
问题 Can anyone explain what this means in xsl? Exactly what does each expression stands for <xsl:template match="@*|node()"> 回答1: @* matches any attribute node, and node() matches any other kind of node (element, text node, processing instruction or comment). So a template matching @*|node() will apply to any node that is not consumed by a more specific template. The most common example of this is the identity template <xsl:template match="@*|node()"> <xsl:copy><xsl:apply-templates select="@*