![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: get DOM Tree from transformation [Thread Next] Re: get DOM Tree from transformationTo: NULL Date: 1/3/2007 8:25:00 AM Martin Honnen wrote: > That does not work if document.body is the body of an HTML DOM document. > The XML DOM implementation (of MSXML) and the HTML DOM implementation > (of IE/MSHTML) are separate implementations, you are not able to move > nodes from an XML DOM document to a HTML DOM document. If your intention > is to transform XML to HTML with XSLT then with IE you are bound to use > transformNode to get a string result and insert that string into the > HTML document with innerHTML or insertAdjacentHTML. While waiting for responces I looked on Sarissa doing on this matter. <http://sarissa.sourceforge.net/doc/overview-summary-sarissa.js.html> You are seem right: with IE you are either happy with insertAdjacentHTML or you are using rather ugly hacks like the one on Sarissa - to bring appendChild back to life. Taking into account that to get rid off insertAdjacentHTML was the original purpose of our library remodeling - it puts a rather hard choice :-) :-( Thanks everyone. | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
