OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xpath axes



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