This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Display an Xml file in a window
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Display an Xml file in a window
- From: "Chris Bayes" <chris at bayes dot co dot uk>
- Date: Thu, 13 Sep 2001 12:15:38 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Cecilia,
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;
xsl.load("default.xsl");
someplace.innerHTML = dataisland.XMLDocument.transformNode(xsl);
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Cecilia Saltori
> Sent: 13 September 2001 11:48
> To: XSL-List@lists.mulberrytech.com
> 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: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list