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





>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).

You can use count() and position() for any of this, no? count() can tell you how
many sibling nodes there are and position() can let you select one.

Stan Dyck