Re: [xsl] xsl:copy-of copies what?

Subject: Re: [xsl] xsl:copy-of copies what?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 30 Jan 2002 09:31:07 GMT
> <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


Current Thread