Hi, it would be nice to be able to use Xpath conditions in expressions...

Lets say My XML is structured that way:

Code:
<xml...>
<ROOT>
   <CLIENT NUM="1">Alfredo</CLIENT>
   <CLIENT NUM="2">Steeve</CLIENT>
</ROOT>
A conditional XPath would look like this :
/ROOT/CLIENT[@NUM > 1]/

This example is a little bit weak because it would be possible to loop on iteration 2 to 0..

A perfect case of use would be you have three different adresses for a customer wich have the same structure and a different type :
/ROOT/CLIENT/ADRESS[@TYPE='POSTAL']

Thanks