This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSLT Debugger
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: XSLT Debugger
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Mon, 20 Nov 2000 15:53:50 -0000
- Reply-To: xsl-list at mulberrytech dot com
John,
><%
> var xmlDoc = Server.CreateObject("Microsoft.XMLDOM");
> xmlDoc.load(Server.MapPath("note.asp"));
>%>
Your problem is here with the Server.MapPath("note.asp"). This is asking the
server to open the file note.asp from the filesystem.
>
>
>Is there a way to use the load method on a file, that is not XML, yet the
>output of that file, after processing, IS XML?? Thanks!
After processing is the point here. Because you are using
Server.MapPath("note.asp") note.asp is not being processed. Change the line
to xmlDoc.load("note.asp"); This will request note.asp from the server and
so will be processed as asp and you will end up with the result.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list