[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to see the output of XSL in IE6 for debuging?
Well let me explain... I downloaded the IE XML tools <<http://www.microsoft.com/downloads/details.aspx?FamilyId=D23C1D2C-1571-4D6 1-BDA8-ADF9F6849DF9&displaylang=en>> and tried to use that to see the result. I got a message "Not an XML"... then I realised that I some how removed the code that was setting the MIME type... Ooops! Just happens that my XML was similliar enough to HTML, that it was partially displayed. Thanks all. Regards, Daniel -----Original Message----- From: Ricaud Matthieu [mailto:matthieu.ricaud@xxxxxxx] Sent: Thursday, 29 April, 2004 5:37 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: How to see the output of XSL in IE6 for debuging? I think actually, the best solution to see the real XHTML output generated by IE6 could be to use some javascript. I'm astonished that you get the XML with this method, when do you call it ? I suggest you make a button which display the ".innerHTML" after the page is loaded. Give your <BODY> element an ID such as : <BODY id="body"> and call this javascript function : function viewXHTL() { var objBODY=document.getElementById("body"); alert(objBODY.innerHTML); } from a button : <button onclick="viewXHTL()">view XHTML DOM</button> Does it work ? -----Message d'origine----- De : Daniel Joshua [mailto:daniel.joshua@xxxxxxxxxxxx] Envoye : jeudi 29 avril 2004 06:09 A : xsl-list@xxxxxxxxxxxxxxxxxxxxxx Objet : How to see the output of XSL in IE6 for debuging? Hi all, I am using XSLT to transform XML on IE6 into XHTML client-side. It mostly works, but on occasion I would like to see the output for debugging, so I can compare the way IE6 handles it versus doing it server-side with saxon. So how do I view the XHTML output of IE6? PS: I even tried to use javascript to display ".innerHTML" but got the XML before transformation. Regards, Daniel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|