[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Displaying xml with xsl and without?
From: "Diana Garroway" <dgarroway98@xxxxxxxxxxx>
Date: Sat, 25 Oct 2003 10:34:44 -0300

Thank you!! These seems to be exactly what I had in mind....


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.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member