xsl-list
[Top] [All Lists]

Re: Re: Creating a XSL to return the input

2003-03-04 16:00:34
On Tue, Mar 04, 2003 at 09:19:57PM +0000, David Carlisle wrote:

so, remind me again -- which one is behaving correctly?

PIs should be copied
Comments should be copied if they are there but an XML parser is allowed
not to report comments at all in which case no comment nodes will appear
in the source tree at all, in which case they won't be copied.

  Libxml2 provides both PIs and comments in the parsed document
provided to libxslt, so both will be available. Libxslt 
allows processing-instructions() and comments() based templates,
this case for node() is just an oversight. Sorry about this...

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard(_at_)redhat(_dot_)com  | libxml Gnome XML XSLT toolkit  
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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