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

Subject: Re: Key to select all same nodes(same @id) except current node
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 7 Mar 2007 17:43:02 GMT
me> not sure what you mean by top element. If you mean ancestor then in 2
me> that's

me> key('ParentKey',@id) intersect ancestor::category

or simpler (and working in 1.0 as well)


@id=ancestor::category/@id

David

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