xpath: determining if the customer has orders
- by deostroll
There is an xml dump of the Northwind database here.
Document structure is something like:
<NorthWind>
<Customers></Customers>
<Customers></Customers>
.
.
.
<Orders></Orders>
<Orders></Orders>
.
.
.
</NorthWind>
Each Customers tag will hold one customer information. Now while I select all Customers how do I furnish a field such that it indicates whether the customer has orders or not; something like a boolean field