Re: Parse new nodes (nodes created on the fly)
Mahomedalid <[email protected]> 8 May 2007 17:25:28 -0700
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
I have this (https://bugzilla.mozilla.org/show_bug.cgi?id=344362) problem for implement the double transformation (generate a xml from other xml file, and then applies a xslt stylesheet again), seems to be FIXED (https://bugzilla.mozilla.org/show_bug.cgi?id=344362) in mozilla1.9alpha, but i have firefox 2.0.0.3, and i have the problem. Anyone knows what it's the relation between the release count of mozilla and firefox? On 8 mayo, 06:27, Martin Honnen <[email protected]> wrote: > Mahomedalid wrote: > > Is there some way to parse new elements created in the template? > > You can chain stylesheet and have the second stylesheet process the > result of the first. However I don't think any browser allows that when > using the xml-stylesheet processing instruction, rather you would need > to use the XSLT processor API with script to run the transformations. > > Then there is the extension function esxl:node-set, Firefox 1.5 and > Firefox 2.0 do not support it but support in Firefox 3.0 will be there, > current nightlies do already support it: > <http://www.exslt.org/exsl/functions/node-set/index.html> > Using that extension function you can convert a result tree fragment > into a node set and then for instance apply templates to it. > > -- > > Martin Honnen > http://JavaScript.FAQTs.com/