XML Reading and Displaying using VB Script
Can any one help me to find the code so that i can load, read and navigate through the child elements of an xml file using vb script. This functionality is to be done in Microsofts ACT Tool....
A sample code i hav generated is as below
Set objLst =CreateObject("Microsoft.XMLDOM")
Set objLst = mydoc.getElementsByTagName("ClaimCode")
For i = 0 to (objLst.length - 1)
If objLst.item(i).nodeName = "ClaimCode" Then
StrClaim = objLst.item(i).text
the problem of the above code is that i am unable to know whether the element is loaded or not and at times its asking for object refernce for mydoc.getElementsByTagName("ClaimCode")
so plz give me some valuable sujjestion
Re: XML Reading and Displaying using VB Script
Aju, please avoid cross-posting as 1) it makes it both difficult to keep responses in one topic, and 2) adds unwanted maintenance activities to this site.