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


I forgot to append that to the previous post.  I've tried this, several
times, and I get an empty object.  Here's the code for what I was doing.
(No clue why it doesn't work.)

<%
  var xmlDoc = Server.CreateObject("Microsoft.XMLDOM");
  var blnTest;

  
//  xmlDoc.async=false;
  blnTest=xmlDoc.load("http://localhost/ProDocs/Tree2/note.asp");
%>
<%
  Response.Write(blnTest);
  Response.Write("<br />");
  Response.Write(xmlDoc.xml);
%>


For some reason, it will NEVER return a false in blnTest.  You can change
localhost to "skdjhfksdjgskjdgh" and it will still return a value of true.
When the note.asp is replaced with note.xml, it does the same thing.  The
xmlDoc is an empty XML object.  In either case, the only output I ever get,
is "True".  


-----Original Message-----
From: Britt, James [mailto:James.Britt@pegs.com]
Sent: Monday, November 20, 2000 11:40 AM
To: 'xsl-list@mulberrytech.com'
Cc: 'john@actworld.net'
Subject: RE: XSLT Debugger



What a web browser gets when fetching an ASP file is the
result of IIS *processing* the ASP script; it is the
output of a program.

To load an ASP page from inside another, you need to call the
page using HTTP so that IIS loads and processes it.

><%
>  var xmlDoc = Server.CreateObject("Microsoft.XMLDOM");
>  xmlDoc.load( "http://YourServer/YourApp/note.asp");
>%>

Otherwise, you get the literal file contents.

BTW, I think you need the latest MSXML to do this without
annoying your server process.



James Britt

>-----Original Message-----
>From: John Bossaller [mailto:john@actworld.net]
>Sent: Monday, November 20, 2000 7:47 AM
>To: 'xsl-list@mulberrytech.com'
>Subject: RE: XSLT Debugger
>
>
>With all of the things you are doing with XML, perhaps you can help me.
>Below is a message I posted to the XML-DEV list.  I can't seem 
>to find a way
>around this.  Hopefully you can see it.  Thanks!!
>

<snip />


 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]