This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Root node vs element root?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Root node vs element root?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 17 May 2001 09:30:50 +0100
- References: <4621819DAF2BD411A20200508B641F4302B2ECB6@MAILSERVER>
- Reply-To: xsl-list at lists dot mulberrytech dot com
>>> Also, does the XSLT processor even see/read the xml declaration?
>>>>>>No, it's dealt with by the XML parser.
Yes, it is dealt with by the XML parser, but some parsers pass the XML
declarations to the XSL processor, in which case you could match it with a
template. Of course, this is up to the XML parser, and really has no impact
on the XSL.
James
No. there is nothing in the XPath data model corresponding to an XML
declaration, so nothing for an XSL template to match.
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list