Accessing particular values

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I am able to navigate to the HL segment, which has an SBR child, which has children SBR01 thru SBR09:
<ROOT>

<HL>
<HL01>2</HL01>
<HL02>1</HL02>
<HL03>22</HL03>
<HL04>0</HL04>
<SBR>
<SBR01>P</SBR01>
<SBR02>18</SBR02>
<SBR03>002/093</SBR03>
<SBR04></SBR04>
<SBR05></SBR05>
<SBR06></SBR06>
<SBR07></SBR07>
<SBR08></SBR08>
<SBR09>16</SBR09>
</SBR>
</HL>
<HL>
<HL01>2</HL01>
<HL02>1</HL02>
<HL03>22</HL03>
<HL04>0</HL04>
<SBR>
<SBR01>P</SBR01>
<SBR02>18</SBR02>
<SBR03>002/093</SBR03>
<SBR04></SBR04>
<SBR05></SBR05>
<SBR06></SBR06>
<SBR07></SBR07>
<SBR08></SBR08>
<SBR09>16</SBR09>
</SBR>
</HL>
</ROOT>
<br/>

How do I, as directly as possible, retrieve the values for the two:
<br/>

/ROOT/HL/SBR/SBR03
<br/>

?
<br/>

<br/>

<hr class="sig -------------- Bill Ross

View the full article
 
Back
Top