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

RE: HTML Code!

Subject: RE: HTML Code!
From: Noah Booth <noahb@xxxxxxxxxxxxx>
Date: Thu, 4 Nov 1999 13:13:19 -0800
source.load html
replace source.load("demo.xml") with
source.load("http://your.server.com/demo.xml")

same with the xsl

-noah

-----Original Message-----
From: Samir.Jasani@xxxxxxxxxxxxxxxxxxx
[mailto:Samir.Jasani@xxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, November 03, 1999 8:48 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: HTML Code!




Hi all,

I am the beginner in the XML field and just started writing some code.

I have some sample html code from a book ,which has used Microsoft.XMLDOM
to convert xml into html using XSL and its code looks like this :-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>

<head><script LANGUAGE="JavaScript" FOR="window" EVENT="onload">
      var source = new ActiveXObject("Microsoft.xmldom");
      source.load("demo.xml");

      var style = new ActiveXObject("Microsoft.xmldom");
      style.load("demo.xsl");
      document.all.item("xslContainer").innerHTML =
        source.transformNode(style.documentElement);

    </script>

<title>Code Listing 8-6</title>
</head>

<body>
<div ID="xslContainer"></div>
</body>
</html>

And this code is working fine if the html is stored in my C:\ but when i
deploy this HTML into a webserver it stops functioning.

Now, how do i pass the XML and XSL to the client so that they are
accessible in the client side script ???

Thanks in advance.

Regards,
Samir



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.