Re: XSLT in Mozilla
Jonas Sicking <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
[email protected] wrote: > It seems i was missing these two crucial lines: > var xmls = new XMLSerializer(); > document.write(xmls.serializeToString(result)); While that will work it is terribly inefficient. It will turn your 'result' into a html-string and then reparse that string. It would be much faster if you just inserted the 'result' into the place in the document where you want it using DOM methods things will be much faster. / Sicking