[xslt] Bug: xsltCompilePattern : failed to compile '@node()'
- From: Michael Ludwig <mlu as-guides com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: [xslt] Bug: xsltCompilePattern : failed to compile '@node()'
- Date: Fri, 03 Jul 2009 19:15:02 +0200
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
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]