|
Subject: RE: XSLT Debugger From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Mon, 20 Nov 2000 15:53:50 -0000 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: XSLT Debugger, John Bossaller | Thread | selective matching, B. Dexheimer |
| xpath not.., Michael Hoffmann | Date | Re: xpath not.., David Carlisle |
| Month |