Re: XSLT processing model in Mozilla
Jonas Sicking <[email protected]> Tue, 03 Jul 2007 14:37:48 -0700
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
John J. Barton wrote: > Jonas Sicking wrote: >> The way we do it for transformations done using >> <?xml-stylesheet type="text/xslt" ...?> is as follows: >> >> We parse the source document normally into a DOM, however during this >> parsing script execution is turned off for the source document. >> >> Simultaneously we load the stylesheet and parse it into an internal >> compiled format (not a DOM). >> >> Once both the source document and stylesheet is done loading we >> execute the stylesheet. >> >> Executing the stylesheet builds DOM nodes which once the execution is >> done is displayed instead of the source document. > > Jonas, > - are any events raised after execution? You should get a normal 'load' event. > - at what point is script execution turned on? script execution is never turned on for the source document. It is always on for the result document though. / Jonas