[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xpath axes
- From: AndrewWatt2000@aol.com
- To: Adam.Hoven@bluezone.net, xml-dev@lists.xml.org
- Date: Tue, 16 Jan 2001 18:27:53 -0500 (EST)
In a message dated 16/01/01 22:15:56 GMT Standard Time,
Adam.Hoven@bluezone.net writes:
> I've been doing a lot of XSLT development and I was wondering why there is
> no siblings and siblings-or-self axis. The second one is somewhat pointless
> but a siblings axis would make it easy to test for uniqueness (for
> instance).
>
> I suspect that the most common use would be to do more sophisticated
> validation (ex there can only be one foo element with a role attribute of
> bar).
>
> Just a thought...
Adam,
I am not sure I grasp your point.
You want something additional to the
following-sibling::
or
previous-sibling::
axes mentioned in Section 2 of the XPath Recommendation?
Andrew Watt