[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Displaying XSLT XML result in IE ?
My question here is: How can I get the XML output resulting from the "XML-XML" XSLT transformation to display in the browser. In my application I have the following HTML page with embedded Javascript: <HEAD> <TITLE>sample</TITLE> <SCRIPT language = "javascript"> function init() { var srcTree = new ActiveXObject("Msxml2.DOMDocument.4.0"); srcTree.validateOnParse = true; srcTree.async=false; srcTree.resolveExternals = false; srcTree.load("https://www.quickbase.com/db/9ijjgchb?a=q^qt=tab^dvqid=8^query ={'6'.CT.'Pacific'}^clist=6.7.8.9.10.11.12.13.28.15.16.17.18.19^slist=23.12^ opts=sortorder-AA.groupby-XX.xst.tmx-35"); var xsltTree= new ActiveXObject("Msxml2.DOMDocument.4.0"); xsltTree.validateOnParse = true; xsltTree.async = false; xsltTree.resolveExternals = false; xsltTree.load("https://www.quickbase.com/db/9fwekr6g?act=DBpage^pagename=CSO rders.xsl"); resTree.innerHTML= srcTree.transformNode(xsltTree); } </SCRIPT> </HEAD> <BODY onload = "init()" > <div id="resTree"></div> </BODY> I am using IE6 with MSXML4. Also as illustrated above both the xml file and xsl file reside on a remote file server. The XSL is an XML to XML transformation. When I run the above, the XML does not display in the browser, only the data content. How can I get the XML resulting from the XSLT transformation to display in the browser. I have tested the XSLT offline using XML Spy and it works fine, and also produces a browser view showing the output XML. Help would be much appreciated. I have also tried using the MSXML SXLT viewer which is a right click add-on, which kind of works to view the converted xml, but the result is not wrapped or formatted and you cant save it, which is my main requirement. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|