xpath: determining if the customer has orders

Posted by deostroll on Stack Overflow See other posts from Stack Overflow or by deostroll
Published on 2012-11-24T11:02:43Z Indexed on 2012/11/24 11:03 UTC
Read the original article Hit count: 166

Filed under:
|
|
|

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

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about Xml