steveflitmcp
Programmer
I have the following XML string.
How can I select the TargetValue using an XPath query???
Please help, I've struggled for ages.
The problem is it's a child of a child and the syntax child:: etc is beating me.
Cheers in advance
<Measures>
<Measure>
<ID>208</ID>
<PMID>5</PMID>
<PMStatusID>5</PMStatusID>
<Target>
<MeasureTarget>
<HighLowRange>H</HighLowRange>
<TargetValue>100000</TargetValue>
<UpperLimit />
<LowerLimit />
</MeasureTarget>
</Target>
<CurrentValue>0</CurrentValue>
<MeasureStatus>Below Target Range</MeasureStatus>
<DisplayColour>#CC0000</DisplayColour>
<Title>Bank funds</Title>
</Measure>
</Measures>
How can I select the TargetValue using an XPath query???
Please help, I've struggled for ages.
The problem is it's a child of a child and the syntax child:: etc is beating me.
Cheers in advance
<Measures>
<Measure>
<ID>208</ID>
<PMID>5</PMID>
<PMStatusID>5</PMStatusID>
<Target>
<MeasureTarget>
<HighLowRange>H</HighLowRange>
<TargetValue>100000</TargetValue>
<UpperLimit />
<LowerLimit />
</MeasureTarget>
</Target>
<CurrentValue>0</CurrentValue>
<MeasureStatus>Below Target Range</MeasureStatus>
<DisplayColour>#CC0000</DisplayColour>
<Title>Bank funds</Title>
</Measure>
</Measures>