Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XML - VBScript issues (loading xml doc) please help! XML - VBScript issues (loading xml doc) please help!To: NULL Date: 5/1/2007 8:17:00 AM i dont know if its my computer or what... but I cant get the below
code to work... when i do the WScript.echo xmlfile.xml.. to view the
content of the xml file it returns a blank box. But if you run the
program on my boss' computer it works fine. I'm also getting an error
code: 800A01A8 on the last line of the code. " Object Required" which
i have no clue how to solve this problem either.. I've downloaded
every XML update and whatnot available on Microsoft's website and
still have the same problems... yet it works on my boss' computer....
please help.... any suggestions?
Option Explicit
Dim xmlFile, xmlConfig, Xsep
Set xmlFile= CreateObject("MSXML2.DOMDocument.3.0")
xmlfile.load "C:\BankingTs\Transcrypt.xml"
WScript.echo xmlFile.xml
Set xmlconfig = xmlfile.documentElement
Set XSep = xmlconfig.SelectSingleNode("//Setup/Separator")
wscript.echo XSep.text
thanks!
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
