Subject: [xsl] Key to select all same nodes(same @id) except current node From: Tech Guru <tech_gr@xxxxxxxxx> Date: Wed, 7 Mar 2007 09:34:11 -0800 (PST) |
Hi Group, I am developing a key that will select all occurrences (same @id) of current element except current node. The structure of my xml is <category_list> <category id="16277" sort_order="10"> <category_list> <category id="16222" sort_order="10"> ......occurrences of category_list and category elements </category> </category_list> </category> <category id="16278" sort_order="10"> ....... </category> </category_list> My key: <xsl:key name="ParentKey" match="category" use="@id"/> Also I want to check whether any <category> elements with same @id, exists in all top elements of current <category> element. Your help would be appreciated. regards, Ranjan ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] flatened hiearchies for x, ac | Thread | Re: [xsl] Key to select all same no, David Carlisle |
Re: [xsl] flatened hiearchies for x, David Carlisle | Date | RE: [xsl] flatened hiearchies for x, Patrick Lachance |
Month |