[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Strict sequential identity rule?

Subject: Re: Strict sequential identity rule?
From: George Cristian Bina <george@xxxxxxx>
Date: Wed, 21 Sep 2005 16:49:23 +0300
Re:  Strict sequential identity rule?
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@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 -->
<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,

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.