[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xpath axes
- From: sdyck@reveregroup.com
- To: Adam Van Den Hoven <Adam.Hoven@bluezone.net>, xml-dev@lists.xml.org
- Date: Tue, 16 Jan 2001 16:34:20 -0600
>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