Hi,
Given the following xml, I'd like to get the 0803 (last) section's set
elements + the 0802 (before last) set elements that are not already in 0803.
<application>
<section id="0802">
<set key="jazz" value="4" />
<set key="pop" value="61" />
<set key="rock" value="43" />
</section>
<section id="0803">
<set key="jazz" value="2" />
<set key="vocal" value="2" />
</section>
</application>
In this case:
jazz
vocal
pop
rock
Here's what I came up with so far but it still misses an important part: ???
//section[(_at_)id='0803']/set|//section[(_at_)id='0802']/set[count(//section[(_at_)id='080
3']/set[(_at_)key=???]) = 0]
I tried things like self::@key and {(_at_)key} without success.
Any help would be welcome.
Regards,
Raymond
--~------------------------------------------------------------------
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>
--~--