Pl. Help -- JavaScript

Brijesh81

Active member
Joined
Jul 2, 2003
Messages
25
Location
New Delhi
Hi Guys,

I am really stuck up n need ur help....

Can anybody convert the following VBScript code snippet (only 6 - 7 lines) to JavaScript. I am new to this n really stuck up. Thanks..

objXMLDoc = server.createObject("Microsoft.XMLDOM")
objXMLDoc.async=FALSE
objXMLDoc.load(Server.MapPath("XML_Test.xml"))

FOR EACH (selnode IN objXMLDoc.selectNodes("LineProductInfo/LineProducts/ProductCategory"))
For Each childnode In selnode.selectNodes("Description")
LineCatDesc = childnode.text
Next
Next
 
Back
Top