cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Askild Aaberg Olsen <ask...@xangeli.com>
Subject Re: parameters in chained transforms
Date Sun, 04 Feb 2007 19:13:51 GMT
Tobia wrote:
> By the way, can I access Cocoon's objects (request, session...)
> through an xslt/xpath extension?  That would be useful.
>   
It might not be good practice, but we added the following calls to 
setParameter() in TraxTransformer.java:

    transformer.setParameter("ServiceManager", manager);
    transformer.setParameter("ObjectModel", objectModel);

In Saxon (and maybe Xalan) you can access these objects/parameters as 
Java-extensions, and then get access to Cocoon's objectmodel.

Askild

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message