cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: Lame question...
Date Thu, 09 Dec 2004 22:17:26 GMT
Pier Fumagalli wrote:
> I have some quite-large tables that i use for lookups (categories, 
> mostly, and prices). They fit pretty nicely in a DOM in memory, no 
> problem, and they almost never change.
> Now, I want to access those from XSLT as a variable.
> Normally, I would aggregate the source, and pass it in the input to the 
> processor, and then do the lookup when I need to.
> Big waste of time, though, because normally (in Java) I'd parse the XML 
> into a DOM (once) and pass it to the XSLT as a parameter (kind of like 
> using the "document" function).
> Is there something like that in Cocoon (allow to pass a full DOM as a 
> parameter to the XSLT processor) or shall I start coding?

Probably that's what you want:

And no, it's not here yet. One workaround I see is to write extension which 
would somehow get to the DOM and return it to xslt processor...


View raw message