![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - get DOM Tree from transformation >Thread Next - Re: get DOM Tree from transformation Re: get DOM Tree from transformationTo: NULL Date: 1/3/2007 3:13:00 PM VK wrote: > I would like to get the transformation result as DOM Tree so to use it > with appendChild method, so something like > XMLData.transformNode(XSLTemplate); > but the return value being not a string but a DOM Tree. > > Is it doable in some single method? Yes, with transformNodeToObject called instead of transformNode where you need to create the result DOM document first e.g. var resultDoc = new ActiveXObject('Msxml2.DOMDocument.3.0'); inputDoc.transformNodeToObject(stylesheetDoc, resultDoc); Make sure all documents involved belong to the same MSXML version (e.g. in the above sample MSXML 3). -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
