Hi all!
I have a function that reads a nodes 'InnerText'. But when the node has
childs 'InnerText' includes that childs text to. Is there a way to select
the value from the node but not from the child?
my xml document structure looks like this:
<Root>
<Depth1>
<Depth2 with attributes>
<Depth3>
<Depth4></Depth4>
<Depth4></Depth4>
<Depth5></Depth5>
<Depth4></Depth4>
</Depth3>
<Depth3>
<Depth4></Depth4>
<Depth4></Depth4>
<Depth4>
<Depth5></Depth5>
</Depth4>
</Depth3>
</Depth2>
<Depth2 with attributes>
<Depth3>
<Depth4></Depth4>
<Depth4></Depth4>
<Depth5></Depth5>
<Depth4></Depth4>
</Depth3>
<Depth3>
<Depth4></Depth4>
<Depth4></Depth4>
<Depth5></Depth5>
<Depth4></Depth4>
</Depth3>
</Depth2>
<Depth1>
</Root>
For each "depth" I have to read its value/text and calculate those values.
Is the question to week, or doés anyone have any ideas?
/Marre