Re: [xsl] Strict sequential identity rule?

Subject: Re: [xsl] Strict sequential identity rule?
From: George Cristian Bina <george@xxxxxxx>
Date: Wed, 21 Sep 2005 16:49:23 +0300
If you include also / in the match:

<xsl:template match="/ | @* | node()">

I think it should work in the same way

 <xsl:template match="node() | @*">
     <xsl:apply-templates select="node() | @*"/>


Best Regards,
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Joris Gillis wrote:
Tempore 15:20:04, die 09/21/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit David Carlisle <davidc@xxxxxxxxx>:

I'd say FALSE, because it cannot handle this XML document properly:

it can so:-)

The result of the transformation is:

<!-- foo -->

This is not even well-formed XML anymore. How can you still call it an identity transformation, when it gives this behaviour?


Current Thread