[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Key to select all same nodes(same @id) except current

Subject: 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)
 Key to select all same nodes(same @id) except current
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.