RE: [xsl] Display an Xml file in a window

Subject: RE: [xsl] Display an Xml file in a window
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Thu, 13 Sep 2001 12:15:38 +0100
Type res://msxml3.dll/DEFAULTSS.xsl in the address bar of ie. 
Save to a file default.xsl
In your default.html add script
var xsl = new ActiveXObject("msxml2.domdocument");
xsl.async = false;
someplace.innerHTML = dataisland.XMLDocument.transformNode(xsl);

Ciao Chris

XML/XSL Portal

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Cecilia Saltori
> Sent: 13 September 2001 11:48
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Display an Xml file in a window
> Hi all,
> I am trying to add to my html page (for 
> example:default.htm)(ceated with xml island and xsl), a 
> button that,when clicked, shows the xml used to create 
> default.htm The problem is that I would display my xml as the 
> IE 5.0 does. With the + characters that you can click... I 
> tried to put my xml in a span with innerText, but it displays 
> all my xml in a single line and ypu have to scroll all the 
> window to read it!! Could someone help me? Thank you
> 		Cecilia
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread