>
> This was discussed several times and the result is: "serializers must be
> unaware of environment they running in and always produce same response
> independent of environment state". IIRC, this has to do with the
> caching. Implement custom transformer if you want, it can have
> parameters.
>
> Vadim
>

This sounds good to me.
I faced this problem when I tried to serialize some XML content into a local
file. I thought it would be a good solution to give the XML serializer a
parameter containing the file name. Then I realized it was far better to use
Jeremy's FileWritingTransformer.

It's available in the scratchpad of the CVS repository.
I'm currently using revision 1.6, and it's just perfect!

Matthieu


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to