Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XML - VBScript issues (loading xml doc) please help! [Thread Next] Re: XML - VBScript issues (loading xml doc) please help!To: NULL Date: 5/2/2007 9:49:00 AM
As well as Martin's advice perhaps you don't have
"C:\BankingTs\Transcrypt.xml" on your machine or the account running the
code has insufficient access rights.
Anyway at least the problem is this way around, my normal one is that it
runs fine on my dev machine but not on my boss's :)
--
Joe Fawcett (MVP - XML)
http://joe.fawcett.name
<jdzurek@u...> wrote in message
news:1178032615.626426.125540@y......
>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 | |||
|
