Re: [xsl] processing-instruction()

Subject: Re: [xsl] processing-instruction()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 31 Jul 2002 15:56:30 +0100
> My impression from a book is that node() only matches elements. 

no it matches all nodes, so elements, pi's comments and text.
the node test node() also matches root, attribute and namespace nodes but
select="node()" doesn't select them as it is short for child::node() and
attributes are never on the child axis.

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