Subject: Re: [xsl] xsl:copy-of copies what? From: martin@xxxxxxxx Date: Wed, 30 Jan 2002 10:32:14 +0000 (GMT) |
guess my question should have been: what nodes in the DOM representation have no equivalent in the XPath data model? just excluding doctype nodes works fine for me now, though i'll have a proper comparative look at the two specs sometime soon. thanks, /m On Wed, 30 Jan 2002, David Carlisle wrote: > > > <xsl:copy-of/> will not copy XML comments or processing > > instructions because they are not XML elements, and they are not part of the > > XML Infoset. Hope that helps. > > copy-of does copy comments and pis as they do correspond to nodes in the > xpath tree (and the infoset) > > David > > _____________________________________________________________________ > This message has been checked for all known viruses by Star Internet > delivered through the MessageLabs Virus Scanning Service. For further > information visit http://www.star.net.uk/stats.asp or alternatively call > Star Internet for details on the Virus Scanning Service. > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:copy-of copies what?, David Carlisle | Thread | RE: [xsl] xsl:copy-of copies what?, Michael Kay |
[xsl] Selecting a tree..., Klaus-Georg Adams | Date | Re: [xsl] Date-Format: How can i us, Joerg . Heinicke |
Month |