Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: javascipt in xsl not working [Thread Next] Re: javascipt in xsl not workingTo: NULL Date: 5/8/2006 1:41:00 PM <nx.nine@g...> wrote in message news:1147091218.891551.157180@g...... > i made the change suggested, IE now tells me that the stylesheet does > not contain a document element and does not render anything. > > i have a feeling the problem might be caused by the way that i append > the transformed data to the page. the only method i've found of adding > the result of transformNode to the page is by making a dummy div and > making the innerHTML the output and appending that. > i'm not very familiar with how to do things in IE, and every time i've > tried a firefox-esque method of appending the DOMDocument to the page > it gives me an error. > > i may be barking up the wrong tree, but i think it's worth mentioning > > thanks for helping me out =) > Try posting your code to the microsoft.public.scripting.jscript group. This isn't really an XSL problem. Have you tried having the node appended to the document before assigning to it's innerHTML. In IE you can use the insertAdjacentHTML method of an element which means you don't need a dummy element. See:- http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/insertadjacenthtml.asp Anthony. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
