[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSLT Debugger

Subject: RE: XSLT Debugger
From: John Bossaller <john@xxxxxxxxxxxx>
Date: Mon, 20 Nov 2000 12:18:10 -0600
bossaller
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.