[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?
When you install the xml tools package for IE as others here have suggested (which I highly recommend) you get a couple html files, one of which looks like this: <HTML> <TITLE>XSL Transformation Ouput</TITLE> <BODY> <SCRIPT language="javascript" defer=true> var win = external.menuArguments; var doc = win.document; var xmldoc = doc.XMLDocument; var xsldoc = doc.XSLDocument; if (!xmldoc) { win.alert("Not XML Document."); } else { try { var srcwin = win.open("about:blank","","resizable=yes,scrollbars=yes"); srcwin.document.write("<html><title>XSL Transformation Ouput</title><body style=\"font:x-small 'Verdana';\"><nobr id=x>working...</nobr></body></html>\n"); srcwin.document.body.all("x").innerText = xmldoc.transformNode( xsldoc); } catch (e) { alert( "Error in 'View XSL Transform': "+e.description); } } </SCRIPT> </BODY> </HTML> So as you can see here the View XSL Output tool simply uses doc.XMLDocument and doc.XSLDocument and outputs the results of doc.XMLDocument.transformNode(doc.XSLDocument) to a new window. If your output something other than HTML you'll have to View Source on the new window to see the actual output from the transformation. John Hansen
|
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
|