R
RogerTBrick
This is probably dead simple - but it's getting late and I've be
staring at XSL for waaaay to long!
I have an XML file that basically contains two lists:
<root>
...
<list name="allItems">
<value>A</value>
<value>B</value>
<value>C</value>
</list>
<list name="exclude">
<value>A</value>
</list>
...
</root>
I want to be able to select all the value elements from the "allItems"
list that are NOT in the "exclude" list. I have soft-of-a solution
involving a few templates and if statements - yet I'm sure there's an
elegant way to do this with XPath, but I can't think of it.
And it's beginning to do my head in.
Cheers,
Jason "My head hurts" Irwin.
staring at XSL for waaaay to long!
I have an XML file that basically contains two lists:
<root>
...
<list name="allItems">
<value>A</value>
<value>B</value>
<value>C</value>
</list>
<list name="exclude">
<value>A</value>
</list>
...
</root>
I want to be able to select all the value elements from the "allItems"
list that are NOT in the "exclude" list. I have soft-of-a solution
involving a few templates and if statements - yet I'm sure there's an
elegant way to do this with XPath, but I can't think of it.
And it's beginning to do my head in.
Cheers,
Jason "My head hurts" Irwin.