This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: needing clarification about XSL transformation


"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: jirka at kosek dot cz
  http://www.kosek.cz


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