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:copy>
<xsl:apply-templates select="node() | @*"/>
</xsl:copy>
</xsl:template>
works.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Joris Gillis wrote:
Tempore 15:20:04, die 09/21/2005 AD, hinc in
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>:
I'd say FALSE, because it cannot handle this XML document properly:
it can so:-)
The result of the transformation is:
<!-- foo -->
<bar>baz</bar>
<bar>baz</bar>
This is not even well-formed XML anymore. How can you still call it an
identity transformation, when it gives this behaviour?
regards,
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--