Re: Exception during importStylesheet()

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Liberty Development
Message-ID <[email protected]>
Marco Baumgartl wrote:


> The result of the transformation is than appended to a html element:
> var div = document.getElementById("output");
> div.append(fragment);

There is no method named append in the DOM, you need
   div.appendChild(fragment);

> Unfortunately this only gives me the two text nodes "item 1 item 2" in 
> my div element.

Can you post a URL to a test case? Or post exactly what you have, it 
does not help telling us you use div.append and then complaining it does 
not work as you want, if you really have div.append then you will simply 
get a script error and nothing appended.

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.