"Robert P. J. Day" wrote:

> which agrees with tidwell, but disagrees with kay, and definitely
> disagrees with http://www.w3.org/TR/xslt, which states, (Section 5.2)
> 
>   "node() matches any node other than an attribute node or the
>    root node"

It is correct statement. Note that XPath expression node() (not node
test alone, whole XPath expression) is shorthand of child::node(). You
can't select attribute this way as you aren't using attribute:: axis.
You can't also select root node, because it hasn't parent.

                                        Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek                        
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz

Reply via email to