Hello:
I have the following XML document:
<?xml version="1.0" ?>
- <root>
- <document>
<control>856TP</control>
- <header>
<asnnbr>90080</asnnbr>
<asndate>20031009</asndate>
<asntime>1611</asntime>
<pkgladingqty />
<pkggrosswt>1104</pkggrosswt>
<carrier>NATIONAL.CONSOLIDATION</carrier>
<bolnbr>64139</bolnbr>
<pronbr>151649</pronbr>
<shippeddate>20031007</shippeddate>
<expecteddate>20031011</expecteddate>
<shiptoduns>008965063W001</shiptoduns>
<shiptoname>TP - JUPITER</shiptoname>
<totalweight>1104</totalweight>
<ponbr>01023476</ponbr>
<podate>20030926</podate>
</header>
- <detail>
- <detailline>
<palletnbr>00100738540000006320</palletnbr>
<receiveritemnbr>830066</receiveritemnbr>
<senderitemnbr>794*R*</senderitemnbr>
<unitsshipped>17</unitsshipped>
<shippeduom>GR</shippeduom>
<upccode>073854007945</upccode>
<description>CARE BEAR DECKS PACKED</description>
</detailline>
- <detailline>
<palletnbr>00100738540000006320</palletnbr>
<receiveritemnbr>834767</receiveritemnbr>
<senderitemnbr>791*R*</senderitemnbr>
<unitsshipped>17</unitsshipped>
<shippeduom>GR</shippeduom>
<upccode>073854007914</upccode>
<description>TMNT DECKS PACKED</description>
</detailline>
</detail>
</document>
</root>
-----
How do I get the count of the <detaillines> for each <document>? I am using VB's MSXML2.DOMDocument30, MSXML2.IXMLDOMNodeList, and MSXML2.IXMLDOMNode.
Please advise.
Thank you,
Kevin Gravelle
I have the following XML document:
<?xml version="1.0" ?>
- <root>
- <document>
<control>856TP</control>
- <header>
<asnnbr>90080</asnnbr>
<asndate>20031009</asndate>
<asntime>1611</asntime>
<pkgladingqty />
<pkggrosswt>1104</pkggrosswt>
<carrier>NATIONAL.CONSOLIDATION</carrier>
<bolnbr>64139</bolnbr>
<pronbr>151649</pronbr>
<shippeddate>20031007</shippeddate>
<expecteddate>20031011</expecteddate>
<shiptoduns>008965063W001</shiptoduns>
<shiptoname>TP - JUPITER</shiptoname>
<totalweight>1104</totalweight>
<ponbr>01023476</ponbr>
<podate>20030926</podate>
</header>
- <detail>
- <detailline>
<palletnbr>00100738540000006320</palletnbr>
<receiveritemnbr>830066</receiveritemnbr>
<senderitemnbr>794*R*</senderitemnbr>
<unitsshipped>17</unitsshipped>
<shippeduom>GR</shippeduom>
<upccode>073854007945</upccode>
<description>CARE BEAR DECKS PACKED</description>
</detailline>
- <detailline>
<palletnbr>00100738540000006320</palletnbr>
<receiveritemnbr>834767</receiveritemnbr>
<senderitemnbr>791*R*</senderitemnbr>
<unitsshipped>17</unitsshipped>
<shippeduom>GR</shippeduom>
<upccode>073854007914</upccode>
<description>TMNT DECKS PACKED</description>
</detailline>
</detail>
</document>
</root>
-----
How do I get the count of the <detaillines> for each <document>? I am using VB's MSXML2.DOMDocument30, MSXML2.IXMLDOMNodeList, and MSXML2.IXMLDOMNode.
Please advise.
Thank you,
Kevin Gravelle