This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSLT Debugger


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]