by beterthanlife » Thu Sep 02, 2010 3:31 pm
Thankyou for your quick response.
Ive watched both RxPath screencasts, however, neither mention how to reference an element by the attributes it does not have. Rather, they only describe how to get an element by attributes it (or its parent / child) does have.
Heres an example to further explain what I need:
<A>
<B C=1 />
<B C=2 />
<B/>
</A>
I want to capture any B elements which are children of A which do not have a C attribute.
I know this is possible through regular xpath (using "B[not(@C)]"), but the syntax doesnt work in RxPath. Is there a way to do this in RxPath?