Hi Daniel, hi folks,
Chance ruled that I stumble into an alternative, symmetrical syntax
for the identity template, which goes like this:
<xsl:template match="@node()|node()">
<xsl:copy>
<xsl:apply-templates select="@node()|node()"/>
</xsl:copy>
</xsl:template>
Isn't it nice and symmetrical? Unfortunately, LibXSLT 1.1.24 doesn't
share my sense of aesthetics yet, and refuses to compile the expression
when it occurs in the match pattern. As a path expression, this compiles.
If you need more input or want me to enter this in the bug database,
please say so.
Regards,
Michael Ludwig
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt