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

Comparing values in lists

Subject: Comparing values in lists
From: tom tom <tomxsllist@xxxxxxxxxxx>
Date: Thu, 11 Nov 2010 10:55:26 +0000
 Comparing values in lists
I have 2 variables containing objects, each with an id, for example:
 
<xsl:variable name="list1">
<object id="1"/>
<object id="2"/>
<object id="3"/>
<object id="4"/>
<object id="5"/>
<object id="6"/>
</xsl:variable>
 
<xsl:variable name="list2">
<object id="1"/>
<object id="3"/>
<object id="5"/>
</xsl:variable>
 
I need to display the objects in list 1 whose ids are not used by any object
in list 2, how is this most easily acheived in XSLT 2?

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.