Re: executing a dom script in a xsl stylesheet
Martin Honnen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | Liberty Development |
| Message-ID | <[email protected]> |
Ricardo wrote:
> hi, my problem is that if i execute an external script that add some
> nodes to the document (/element/.appendChild(/node/)), mozilla (Firefox
> 1.0) ignores the format, it appends just the text, no matter tags (<p>,
> <br />...)
Could you make a test case and post a URL? Maybe all you need to do is use
var p = document.createElementNS('http://www.w3.org/1999/xhtml', 'p')
for Mozilla to ensure you are creating XHTML elements but I am guessing,
provide more details so that we can understand what you are doing.
--
Martin Honnen
http://JavaScript.FAQTs.com/