say, I have an XML file such as this one:
<?xml version="1.0"?>
<pdml version="0" creator="me">
<packet>
<proto name = "geninfo" showname="General Info">
<field name = "num" value="1" />
<field name = "len" value="5" />
</proto>
<proto name = "data" showname="myData">
<field name = "data" value="00:0A:0B:0C:0D:0F" />
</proto>
</packet>
<packet>
<proto name = "geninfo" showname="General Info">
<field name = "num" value="2" />
<field name = "len" value="4" />
</proto>
<proto name = "data" showname="myData">
<field name = "data" value="EF:AA:FB:0C:0D" />
</proto>
</packet>
As you can see, I have two packets. I was able to get Labview to read in a child node array of two but now how do I read in the attribute as an array or collection of record for each "proto" and then obtain the data only. For example, I would like to retrieve data from packet #2 and it should yield "EF:AA:FB:0C:0D", how do I do this? I know how to retrieve a simple xml file but getting to the attribute part is a little tricky here. Thanks