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

RE: comparing nodes by name

Subject: RE: comparing nodes by name
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 5 Aug 2003 17:30:37 +0100
xsl deduplicate
Munchian grouping allows you to group or deduplicate nodes based on any
function of the nodes, including their name.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Stephan Kahnt
> Sent: 05 August 2003 16:13
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  comparing nodes by name
> 
> 
> Hi,
> 
> I do have the following Problem. I need to find all nodes in 
> a subtree 
> /AAA/BBB that don't have the same name as any name in the 
> current context 
> /AAA/DDD. In the following example this would result to 
> /AAA/BBB/KKK, because 
> it's the only node under /AAA/BBB that does not exist under 
> /AAA/DDD. The 
> problem for me is, that not the nodes or the values of the 
> nodes have to be 
> compared but the names. Does someone out there know how to do this? 
> 
> Thanks in advance.
> 
> <AAA>
>   <BBB>
>     <CCC>1</CCC>
>     <KKK>2</KKK>
>   </BBB> 
>   <DDD>
>     <CCC>2</CCC>
>     <EEE>3</EEE>
>   </DDD>
> </AAA>
> 
> Best regards
> 
> Stephan Kahnt
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.