Я хочу вернуть весь товар, ссылка на тип которого - veg.
Но это выражение кажется неверным, что я делаю не так:
Products/Product[Type[@ref="veg"]]
<Products>
<Product ref="apple">
<Type ref="fr">FRUIT</Type>
<Price>100</Price>
</Product>
<Product ref="cabbage">
<Type ref="veg">VEGETABLE</Type>
<Price>200</Price>
</Product>
</Products>