[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|