[EMAIL PROTECTED] wrote:
Hi,

I have a problem. I want to use transformer, it gets XSL stylesheets not from filesystem, but from database. As some good mind advised, I used cocoon:/ protocol to call another pipeline with databasereader, which returns appropriate XSL stylesheet. But cocoon reports: "Streaming of an internal pipeline is not possible with a reader."

OK, I was afraid that this will happen.


I see basically three options:

a) try the blob source instead of the cocoon one. See javadocs on BlobSource and BlobSourceFactory from the databases block for details.

b)You might do the trick using eg XSP (+ esql logicsheet) to retrieve the stylesheet. However, IIRC you
will need to enclose the output with a tag otherwise the XSP will not
work correctly, so you will need to filter out this additional root tag.


c) write your own source / generator

Chris.

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



Reply via email to