On 30.06.2004 16:00, Marius Oancea wrote:

Hi,
   I have a web application that partly uses cocoon.
[ANOTHER APP]    I have a xslt that is applied during a pipe.

   Now, in a servlet i have the XSLT extracted from a database.

I put this bytearray into request.
[COCOON]
I can create a custom transformer that read the bean from request (my XSLT) but how to create a Source object out of it?


I tried to extend TraxTransformer to do the job but I cannot succesfully create a excalibur source out of a DOM representing the XSLT. (I can create SAXSource, DOMSource, InputStream or anything else).

My approach is wrong ?

Any other proposal ?

What about http://wiki.cocoondev.org/Wiki.jsp?page=XModuleSource?

Another approach is a source that reads the stylesheet code from database and parses it.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to