Hi I know this is quite basic but I wasn't able to find the answer by myself.
In this example:
<root>
<a/>
<b/>
<c/>
<d/>
</root>
I want to select all root
children except b
and d
.
I wrote something like this that didn't work.
/root/*[not(b) and not(d)]
the result is all the root children: a,b,c,d
.
How to select only a
and c
?