|
Subject: Re: XSL implementation in IE5 ??? (fwd) From: Rick Geimer <Rick.Geimer@xxxxxxx> Date: Fri, 29 Oct 1999 14:11:17 -0700 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: XSL implementation in IE5 ??? (, Frederic Schwebel | Thread | Re: XSL implementation in IE5 ??? (, Dale Asberry |
| Re: A beginners question.., Rick Geimer | Date | Re: Remove duplicates from a list, Tim Taylor |
| Month |