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

Re: how to prevent xsl:copy collapsing <ll></ll> to <ll/>

Subject: Re: how to prevent xsl:copy collapsing <ll></ll> to <ll/>
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 4 Apr 2000 17:35:24 +0100 (BST)
ll ll

> 1) input of, for example, <Text></Text> is collapsed in the output to <Text/>
> How do I prevent this collapsing?

You don't. The XML specification makes it explicit that they are
equivalent. It's just a syntactic difference, like whether you
have " or ' around attribute values.

> 2) The original encoding and DOCTYPE information is lost.
An XSL feature. It works on the parse tree (aka infoset nee grove) and
in the DOCTYPE information is not there.

> Is there anyway to copy this information through as well?
No, not in XSL.


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

Current Thread


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.
First Name
Last Name
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.