Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Third Party Data Interchange

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all,

I encountered "unspecified error" error message when I (at wanted to grab XML data from ( the error occur at this line (objXML.async = false). Can anyone help? :)

Below are the asp code:
-----------------------------------------------------
set objXML = Server.CreateObject ("Microsoft.XMLDOM")
objXML.validateOnParse = true

xmlFile = "objXML.load(xmlFile)

objXML.async = false

set objRootElement = objXML.documentElement

set productMaintNodes = objRootElement.childNodes

for each node in productMaintNodes
set myObjNode = node.selectSingleNode("product_code")
strProduct_code = myObjNode.text
set myObjNode = node.selectSingleNode("description")
strDescription = myObjNode.text

response.write strProduct_code & &quot;<br>&quot;
response.write strDescription & &quot;<br>&quot;

next

set objXML = nothing
-----------------------------------------------------

Appreciate for any kind hand given...

Ant that crawl......... lonely
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top