This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]