This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Loading Remote XML.
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: Loading Remote XML.
- From: "Steven Livingstone" <s dot livingstone at btinternet dot com>
- Date: Mon, 5 Jun 2000 11:44:16 +0100
- References: <000a01bfced8$2235eb40$441171d4@roland>
- Reply-To: xsl-list at mulberrytech dot com
Yep -
there are a load of problems doing this on the server.
Use something like ASPTear (?), ActiveXML (vivid-creations.com) or
ASPHTTP(serverobjects.com) to get the remote URL and then load it into the
DOM on the server.
There is a KB on the MS Site. It works OK on the client, but not server !
cheers,
steven
Steven Livingstone
Glasgow, Scotland.
+44 (0) 7771 957 280
Pro XML http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861003110
Pro Site Server 3
http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861002696
Pro Site Server 3.0 Commerce Edition
http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861002505
----- Original Message -----
From: Roland Dunn <roland@nykris.co.uk>
To: <XSL-List@mulberrytech.com>
Sent: Monday, June 05, 2000 11:23 AM
Subject: Loading Remote XML.
> Hi,
>
> Has anyone tried using .load on the MSXML DOM and tried to load a remote
> file?
> Particularly on 2000 using IIS5? If I try to do the following in an ASP
page
> I get the following error details:
>
>
> Set xmlObj = Server.CreateObject("Microsoft.XMLDOM")
> xmlObj.async=False
> xmlObj.Load("http://p.moreover.com/cgi-local/page?index_fedwatch+xml")
>
> If xmlObj.parseError.errorCode <> 0 Then
> ' This produces the following error details.
> ' Error code: -2146697209
> ' Reason: "No data is available for the requested resource." Eh ?
>
> End If
>
> I know that the XML source is valid and well-formed. I also get the same
> error with the most simple XML files.
> Any clues anyone?
>
> Cheers Roland.
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list