W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2003

Re: [XPath] reverse axis steps

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 24 Nov 2003 17:33:52 GMT
Message-Id: <200311241733.RAA16335@penguin.nag.co.uk>
To: public-qt-comments@w3.org


I wrote

  In particular there should be an explicit example somewhere close to
  this point that points out that
  ancestor-or-self::*[1] is the root of the current document and
  (ancestor-or-self::*)[1] is the current node.

sorry about the example which is of course totally wrong, try:

  (ancestor-or-self::node())[1] is the root of the current document and
  ancestor-or-self::node()[1] is the current node.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Monday, 24 November 2003 12:43:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:03 GMT