Read XML nested

Aug 18 2020 2:25 PM
I am trying to read the nested elements in the xml below. All the tests made have failed. Any help is much appreciated.
 
<item value="val" sub="false">
<item value="20" sub="false"/>
<item value="20_002" sub="false"/>
<item value="20_003" sub="false"/>
<item value="PIA" sub="false">
<item value="I" sub="false">
<item value="A" sub="false">
<item value="B" sub="false"/>
<item value="B_002" sub="false"/>
</item>
<item value="A_002" sub="false">
<item value="B_003" sub="false"/>
<item value="B_004" sub="false"/>
</item>
<item value="A_003" sub="false">
<item value="B_005" sub="false"/>
<item value="B_006" sub="false"/>
</item>
<item value="A_004" sub="false">
<item value="B_007" sub="false"/>
<item value="B_008" sub="false"/>
</item>
<item value="A_009" sub="false"/>
<item value="A_010" sub="false"/>
<item value="A_011" sub="false"/>
<item value="A_012" sub="false"/>
<item value="A_013" sub="false"/>
<item value="A_014" sub="false"/>
<item value="A_015" sub="false"/>
<item value="A_016" sub="false"/>
<item value="A_017" sub="false"/>
<item value="A_018" sub="false"/>
<item value="A_019" sub="false"/>
<item value="A_020" sub="false"/>
</item>
<item value="BA_019" sub="false"/>
<item value="BA_020" sub="false"/>
<item value="BA_021" sub="false"/>
<item value="BA_022" sub="false"/>
<item value="BA_023" sub="false"/>
<item value="BA_024" sub="false"/>
<item value="BA_025" sub="false"/>
<item value="H" sub="false">
<item value="A_075" sub="false"/>
<item value="A_076" sub="false"/>
<item value="A_077" sub="false"/>
<item value="A_078" sub="false"/>
</item>
</item>
</item>
</item>
</item>

Answers (3)