[Home] [By Thread] [By Date] [Recent Entries]

  • From: AndrewWatt2000@a...
  • To: Adam.Hoven@b..., xml-dev@l...
  • 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@b... 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member