Re: How to tell Firefox NOT to do DOM-Tree creation
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
ExtDev wrote: > Open a XML document with FF (by typing the URL in the adress bar or by > klicking a link etc) > Then my extension passes that document (maybe as a string) to a > function. > That function does some XSL transformation (without using the FF's > internal XSLT processor) and returns the result and that result should > appear in the browser window. That's actually a bit of a pain, because you have to prevent the normal XML handling (but keep enough of it around that you can show the result of your XSL transformation, right? In any case, you can easily get XML documents as strings without parsing if you're doing XHR or some such, but to get them that way when loading in the URL bar you'd have to suppress the normal XML handling. -Boris