Re: [XPath] reverse axis steps

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 UTC