This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
union/intersection on attribute values
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] union/intersection on attribute values
- From: Dan Diebolt <dandiebolt at yahoo dot com>
- Date: Fri, 20 Apr 2001 16:42:19 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Given the following:
<items>
<item id="1" set1="A"/>
<item id="2" set1="B"/>
<item id="3" set1="C"/>
<item id="4" set2="A"/>
<item id="5" set2="C"/>
<item id="6" set2="D"/>
</items>
How do you determine the *attributes*values* that are:
1) represented in both set1 and set2 - A and C
2) represented in set1 but not set2 - B
3) represented in set2 but not set1 - D
By determined, lets say I want to process the attribute values
with <xsl:for-each select="?">
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list