Hello,
I am using example4 to parse a file. I can get most values. I am having a problem when a section loops and I need to drop down a level. Here is an example:
<Asn>
<Header>
<shipper date="2005-09-08" time="12:15"/>
</Header>
<Detail>
<line_item part_no="123">
<quantity shipped="125"
</line_item>
<line_item part_no="456">
<quantity shipped="50"
</line_item>
</Detail>
</Asn>
I can get shipper date and time. I can get both part_no but I am unable to get the quantity shipped. I am using
item.shipped(i) =DOMXPath_getAttrValue(gRoot:'Asn/Detail/line_item/quantity/shipped': i);
inside a For loop. My program errors out - pointer not set for location referenced. Please help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am using example4 to parse a file. I can get most values. I am having a problem when a section loops and I need to drop down a level. Here is an example:
<Asn>
<Header>
<shipper date="2005-09-08" time="12:15"/>
</Header>
<Detail>
<line_item part_no="123">
<quantity shipped="125"
</line_item>
<line_item part_no="456">
<quantity shipped="50"
</line_item>
</Detail>
</Asn>
I can get shipper date and time. I can get both part_no but I am unable to get the quantity shipped. I am using
item.shipped(i) =DOMXPath_getAttrValue(gRoot:'Asn/Detail/line_item/quantity/shipped': i);
inside a For loop. My program errors out - pointer not set for location referenced. Please help.