Re: [xsl] difference between select="*" and select="node()"

Subject: Re: [xsl] difference between select="*" and select="node()"
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Mon, 08 Apr 2002 14:45:13 +0200
Karthik Gurumurthy wrote:

it's behaving the same way for me :-(
am using Oreilly's XSLT to learn XSLT.
It says that node() selects the attribute as well in addition to the text
nodes.
node() as node test does select any kind of node, but
node() as XPath expression (location step) is abbreviated form of child::node(), which never selects any attribute node because of child axis (attributes are not children of the element, but the element is their parent).


--
Oleg Tkachenko
Multiconn International, Israel


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



Current Thread