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

Re: XSL implementation in IE5 ??? (fwd)

Subject: Re: XSL implementation in IE5 ??? (fwd)
From: Rick Geimer <Rick.Geimer@xxxxxxx>
Date: Fri, 29 Oct 1999 14:11:17 -0700
inserthtml script
Frederic Schwebel wrote:

> And do you know if there is a command in IE5 like "apply stylesheet" to
> apply a stylesheet on a doc already loaded in the browser (instead of
> putting <?xml-stylesheet type="text/xsl" href="xxxxx.xsl"?> in the xml doc
> itself) ?
> 

Here is some sample code from Microsoft that seems to do the job. 

  <HTML>
      <BODY>
        <XML ID="XMLDoc"></XML>
        <XML ID="XSLDoc"></XML>
        <DIV ID="insertHTML"></DIV>
        <SCRIPT LANGUAGE=VBScript>
          XMLDoc.async = false       
              XMLDoc.load("schedule.xml")
          XSLDoc.async = false       
          XSLDoc.load("schedule.xsl")
          result = XMLDoc.documentElement.transformNode
(XSLDoc.documentElement)
          insertHTML.innerHTML = result
        </SCRIPT>
      </BODY>
    </HTML>

Rick Geimer
National Semiconductor
rick.geimer@xxxxxxx


 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.