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) |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
how to prevent xsl:copy collapsing , Randall J. Parr | Thread | RE: Explain me the expression., Narahari, Sateesh |
"Translate function", Selva, Francis | Date | Re: "Translate function", David Carlisle |
Month |