softwareguy2
Technical User
I am trying to pull an XML feed from a remote server, and then transforming it with an XSL stylesheet. For some reason if i run it with the stylesheet on the local server, it works fine, but I can not get it to obey the stylesheet when i am on the remote server.
Here is the code i am using.
<%
Response.Buffer = True
Dim objXMLhttp, xml
' Create an xmlhttp object:
Set objXMLhttp = Server.CreateObject("Microsoft.XMLhttp"
Set xml = Server.CreateObject("Microsoft.XMLDOM"
' Opens the connection to the remote server.
objXMLhttp.Open "GET", " False
' Actually Sends the request and returns the data:
objXMLhttp.Send
xml.loadXML(objXMLhttp.responseText)
set xsl = Server.CreateObject("Microsoft.XMLDOM"
xsl.async = false
xsl.load(Server.MapPath("xml_feed.xsl"
)
Response.Write xml.xml
%>
any suggestions are greatly appreciated
thanks in advance
Here is the code i am using.
<%
Response.Buffer = True
Dim objXMLhttp, xml
' Create an xmlhttp object:
Set objXMLhttp = Server.CreateObject("Microsoft.XMLhttp"
Set xml = Server.CreateObject("Microsoft.XMLDOM"
' Opens the connection to the remote server.
objXMLhttp.Open "GET", " False
' Actually Sends the request and returns the data:
objXMLhttp.Send
xml.loadXML(objXMLhttp.responseText)
set xsl = Server.CreateObject("Microsoft.XMLDOM"
xsl.async = false
xsl.load(Server.MapPath("xml_feed.xsl"
Response.Write xml.xml
%>
any suggestions are greatly appreciated
thanks in advance