M
marfi95
I'm just starting to learn xpath, so if I have the following xml
<Root>
<Data 1>
<Child 1></Child 1>
<Child 2></Child 2>
</Data 1>
<Data 2>
<Child 1></Child 1>
<Child 2></Child 2>
</Data 2>
</Root>
Is there an xpath expression with SelectNodes that I can use to get
the number of nodes that start with <Data>
I thought I could use "Root/Data*", but that didn't seem to work.
Thanks !
Mark
<Root>
<Data 1>
<Child 1></Child 1>
<Child 2></Child 2>
</Data 1>
<Data 2>
<Child 1></Child 1>
<Child 2></Child 2>
</Data 2>
</Root>
Is there an xpath expression with SelectNodes that I can use to get
the number of nodes that start with <Data>
I thought I could use "Root/Data*", but that didn't seem to work.
Thanks !
Mark