[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT interacting with Javascript
Robert G wrote:
var xsltProcessor=new XSLTProcessor(); Well Mozilla nicely allows you to produce HTML DOM nodes with an XSLT transformation that you can appendChild directly into your HTML document, simply by using var fragment = transformToFragment(xml, document); // might want/need to remove contents of output first output.appendChild(fragment); so use that instead of creating a result document first, then serializing that (as XML) with XMLSerializer, then parsing that (as HTML) by setting innerHTML. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|
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
|