Re: [xsl] Key to select all same nodes(same @id) except current node

Subject: Re: [xsl] 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