This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: difference between select="*" and select="node()"
- From: Oleg Tkachenko <olegt at multiconn dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 08 Apr 2002 14:45:13 +0200
- Subject: Re: [xsl] difference between select="*" and select="node()"
- Organization: Multiconn International
- References: <NEBBJNMDEKBIBCMCNMBDOEPIDIAA.karthikg@aztec.soft.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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