The next time someone asks for questions for a test, that's a nice
(but unfair) one to suggest.
nah it's too easy as its explictly highlighted in the spec:-)
http://www.w3.org/TR/xpath20/#abbrev
Note:
The path expression //para[1] does _not_ mean the same as the path
expression /descendant::para[1]. The latter selects the first descendant
para element; the former selects all descendant para elements that are
the first para children of their respective parents.
So is it correct to say that:
(//para)[1]
and
/descendant::para[1]
are equivalent?
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--