hi i have a problem after getting data from xml.
there is two example as attact which i use for my software, first one i get data completely. second one is i can get some data not all.
first XML file
second XML file
could you help me please?
main code to get data from xml ;
Set oparser = CreateObject("msxml2.domdocument")
bRet = oparser.loadXML(str_xml)
If bRet Then
Set celem1 = oparser.documentElement.selectNodes("//DueDate")
Set celem2 = oparser.documentElement.selectNodes("//Chassis")
Set celem3 = oparser.documentElement.selectNodes("//PartNumber")
Set celem4 = oparser.documentElement.selectNodes("//PartDescription")
Set celem5 = oparser.documentElement.selectNodes("//Quantity")
Set celem6 = oparser.documentElement.selectNodes("//VehicleCode")
Set celem7 = oparser.documentElement.selectNodes("//PartNote")
Set celem8 = oparser.documentElement.selectNodes("//Note")
Set celem9 = oparser.documentElement.selectNodes("//ShipTo")
Set celem10 = oparser.documentElement.selectNodes("//Plan")
For i = 0 To celem1.Length - 1
next
there is two example as attact which i use for my software, first one i get data completely. second one is i can get some data not all.
first XML file
second XML file
could you help me please?
main code to get data from xml ;
Set oparser = CreateObject("msxml2.domdocument")
bRet = oparser.loadXML(str_xml)
If bRet Then
Set celem1 = oparser.documentElement.selectNodes("//DueDate")
Set celem2 = oparser.documentElement.selectNodes("//Chassis")
Set celem3 = oparser.documentElement.selectNodes("//PartNumber")
Set celem4 = oparser.documentElement.selectNodes("//PartDescription")
Set celem5 = oparser.documentElement.selectNodes("//Quantity")
Set celem6 = oparser.documentElement.selectNodes("//VehicleCode")
Set celem7 = oparser.documentElement.selectNodes("//PartNote")
Set celem8 = oparser.documentElement.selectNodes("//Note")
Set celem9 = oparser.documentElement.selectNodes("//ShipTo")
Set celem10 = oparser.documentElement.selectNodes("//Plan")
For i = 0 To celem1.Length - 1
next