Hey all...
I have this:
<Category>
<Category>
<Product>
<Product>
</Category>
<Category/>
<Product/>
<Product/>
</Category>
And I'd like some XPath syntax to return ALL Category nodes that do not have
children (either Product or Category children). Categories and products can
be n nodes deep...
I thought this might work: //Category[not(Category or Product)]
but alas, it does not.
Any help would be appreciated.
- m -