|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
remote xml files
i'm trying to load a remote xml file, URL in order to modify it to show nicely on my website. however, i get a access denied error when i try to load it. what's the best way to get this done? i'd prefer not having to instal any 3rd party components.........
thanks, mike |
|
#2
|
|||
|
|||
|
I'm not having any problems at all loading this document with DOM, which specifcation are you using?
Code:
var objDOM;
objDOM = new ActiveXObject("MSXML.DOMDocument");
objDOM.async=false;
objDOM.load("http://xoap.weather.com/weather/local/57106?
dayf=5&prod=xoap&par=1002440194&key=f7716fcde1ea8ebe,");
|
|
#3
|
|||
|
|||
|
i'm using asp, what are you using? javascript?
|
|
#4
|
|||
|
|||
|
ASP is a technology, not a language.
I assume you're using a third party component already, it just came preinstalled. I'm using client side javascript but you can use javascript serverside with <% %> too. I assume you're using DOM then since you didn't state otherwise? Perhaps lets see your code to see what the error is? Both run as IUSR_machinename so it shouldn't be the difference in serverside or clientside. |
|
#5
|
|||
|
|||
|
I also have the same problem reading RSS Feed
I am also using same Link for reading xml data through ASP.This perticular file is not loading.I am using server side vbscrpit for coding in asp.My code snipet is giving below
****************************************** Response.ContentType = "text/xml" Dim objSXH2 Set objSXH2 = Server.CreateObject("MSXML2.ServerXMLHTTP") objSXH2.open "GET", strWeather, True objSXH2.send If objSXH2.status = 200 Then Set xmlESPN = Server.CreateObject("MSXML2.FreeThreadedDOMDocument.3.0") xmlESPN.async = False xmlESPN.validateOnParse = False xmlESPN.resolveExternals = False Set xmlESPN = objSXH2.responseXML End if Response.Write xmlESPN.xml ******************************************* The XML file is not loading in the "xmlESPN" object. can any one help me out In this problem? Thanks in advance Sanjukn |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > remote xml files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|