|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL implementation in IE5 ??? (fwd)
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








