xsl-list
[Top] [All Lists]

[xsl] Comparing values in lists

2010-11-11 04:55:36

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?
                                          
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>