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(_at_)nag(_dot_)co(_dot_)uk>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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