|
[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/>
> 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. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








