Altova Mailing List Archives


Re: Reading XML from a URL with VBScript

From: "Han" <hp4444@------.---.----->
To: NULL
Date: 7/2/2004 11:05:00 AM
Where does your script run, ASP or something?

"Jesse" <anonymous@d...> wrote in message
news:24a8601c45fd8$674bebe0$a301280a@p......
> Hi All,
>
> I have a question regarding reading XML from a URL using
> VBScript.  I am able to read an xml file that is stored
> locally with VBScript but when i try and access the same
> file through a url (via a webserver)instead of a direct
> local path, nothing is read.  I get the error "Object
> Required" on the line:
>
> msgbox(theXML.documentElement.firstChild.text)
>
> If i type the url in my browser it brings up the contents
> of the file in the browser window.
>
> I am new to XML so any information on the subject would be
> appreciated.
>
> Thanks,
> Jesse
>
>


Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.