Re: [xsl] Displaying xml with xsl and without?

Subject: Re: [xsl] Displaying xml with xsl and without?
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Sat, 25 Oct 2003 10:36:54 +0100
In your generated html have the following script (IE only):

function showSource()
{
 var oXmlDoc = document.XMLDocument;
 var oWin = window.open("about:blank")
 var oDoc = oWin.document;
 oDoc.open();
 oDoc.write(oXmlDoc.xml);
 oDoc.close();
}

attach the code to a button onclick.

--

Joe

From: David Carlisle <davidc@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Displaying xml with xsl and without?
Date: Fri, 24 Oct 2003 17:21:59 +0100

> Is there  a sort of "view-source" for xml?
in mozilla and IE just using the normal view soure option in the menu
does what you want doesn't it?

Show the original xml.

--
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread