| 
 
Subject: RE: XSLT Debugger From: John Bossaller <john@xxxxxxxxxxxx> Date: Mon, 20 Nov 2000 12:18:10 -0600  | 
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@xxxxxxxx]
Sent: Monday, November 20, 2000 11:40 AM
To: 'xsl-list@xxxxxxxxxxxxxxxx'
Cc: 'john@xxxxxxxxxxxx'
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@xxxxxxxxxxxx]
>Sent: Monday, November 20, 2000 7:47 AM
>To: 'xsl-list@xxxxxxxxxxxxxxxx'
>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
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| selective matching, B. Dexheimer | Thread | RE: XSLT Debugger, Archie Russell | 
| adding string-length values, Zeljko Rajic | Date | xsl:call-template and javascript, Jakub Malý | 
| Month |