text()" vs. "node()"

[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: "*|@*|text()" vs. "node()"

Subject: RE: "*|@*|text()" vs. "node()"
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 5 Oct 2001 11:08:55 +0100
RE:  "*|@*|text()" vs. "node()"
>
> 	node() matches any node other than an attribute node
> and the root node
>
> which is slightly confusing since the XPath spec defines it as:
>
> 	A node test node() is true for any node of any type whatsoever.
>
Confusing but not incorrect. XPath is talking about expressions, not
patterns. The node test "node()" will select all nodes on the axis you are
looking at. If you don't specify an axis, you are looking at the child axis.

Mike Kay


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.