[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] thoroughly confused about node() matching


Subject: RE: [xsl] thoroughly confused about node() matching
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Tue, 4 Mar 2003 10:50:05 -0500

[ Lars Huttar]

> I totally agree... that's why I'm saying, since (I thought) 
> the spec writers were talking about "node()" as a whole 
> pattern, with no specified axis (and therefore using the 
> "child" axis), why did they say
> 
>  o  node() matches any node other than an attribute node and 
> the root node
> 
> instead of
> 
>  o  node() matches any node other than an attribute node, the 
> root node,
>     and namespace nodes
> 
> ?
> Did they really mean that namespace nodes are matched (in 
> which case they're saying Kay is wrong), or did they make a mistake?

The words in the xslt 1.0 Rec about node() are only an example of its
use in a pattern.  node() really comes from the xpath Rec, and you
should read up on it there (not that there is too much more, but you
will see that node() is more general than the illustration in the xslt
Rec).

Cheers,

Tom P

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



Current Thread
Keywords