Is it possible to call an asp file that generates xslt using
Objectname.load ? I have tried this script :
<%
Dim objXML, objXSL
Set objXML = Server.CreateOb ject("Msxml2.DO MDocument.4.0")
Set objXSL = Server.CreateOb ject("Msxml2.DO MDocument.4.0")
objXML.async = False
objXSL.async = False
objXML.setPrope rty "ServerHTTPRequ est", true
objXML.load
("http://www.ourdomain.c om/sales/atdxmlfeed.asp? Ga_Id=" &
Request("Ga_Id" ) )
objXSL.setPrope rty "ServerHTTPRequ est", true
objXSL.load "http://www.ourdomain.c om/sales/stylesheet01.as p?Ga_Id=" &
Request("Ga_Id" ) ) **** this is the line with the problem....
objXML.transfor mNodeToObject objXSL, Response
%>
But when I run it on the browser, I get this error :
******
msxml4.dll error '80004005'
The stylesheet does not contain a document element. The stylesheet may be
empty, or it may not be a well-formed XML document.
********
When I change stylesheet01.as p to stylesheet01.xs l (stripping the asp out),
it works. The xml file (atdxmlfeed.asp ) works too, and I assumed that what
would be good for one, would be good for the other.
Thanks in advance for any advice received.
Justin Woodcock