Hi,
I have the following XML:
<a>
<b>
<c name="bob"/>
<c name="billy"/>
</b>
<b>
<c name="george"/>
<c name="nick"/>
</b>
</a>
I'm trying to write an XPath-expression to get this XML:
<b>
<c name="billy"/>
</b>
<b>
<c name="george"/>
<c name="nick"/>
</b>
but I can't get it right.
I have tried /a/b/c[@name != 'bob']/.. but it does not work. I know
why, but I don't know how to fix it.
Any help is appreciated.
/Bent