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

RE: identity transform - include CDATA's, etc

Subject: RE: identity transform - include CDATA's, etc
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 27 Jun 2003 09:41:30 +0100
xml transform include doctype
> however this is not a true identity transform since CDATA 
> sections enclosed 
> in the original xml document in <![CDATA[ ]]> is output as regular 
> characters.  

It is an identity transform of the data model. There are things in the
original source document that are not represented in the data model, and
these cannot be preserved through a transformation because they are lost
even before the transformation starts. These include:

CDATA sections
entity references
character encoding
attribute order
DOCTYPE declarations
spaces around "=" signs in attributes

and lots of other similar details.

The thinking is that these are conveniences when creating an XML
document but they should not be used to represent the information
content of the document - they are superficial features of the external
representation of the XML.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.