EXAMPLE:
My XML:
<root>
<a>
<b>1</b>
<b>1</b>
<b>2</b>
</a>
<a>
<b>1</b>
<b>2</b>
</a>
<a>
<b>1</b>
</a>
</root>
- A now, how to control that every "b" element has got only the same one value(not only "1")?
- Is it possible? I found only, but it doesnt work:
//a/b != ./b
- I have no idea except some loop or count by value in element ... but it cant in xpath, or not?
Thanks for replies.