With a bit of work this should be very much possible then from the looks of it, cool. Will this get included in the 2.1.x branch anytime soon? (i guess the answer is : as soon as someone writes the patch)
Thanks for pointing that out. Jorg
Joerg Heinicke wrote:
On 07.01.2004 12:29, Jorg Heymans wrote:
For the moment it is not possible to pass parameters to serializers.
See threads http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107124795803829&w=2 and http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106926645925899&w=2
to give you an idea what you might be able to do.
But the mail http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106943896422414&w=2 in the second thread states exactly the contrary, isn't it? Parameterized serializers should be possible now, you only have to write/patch it yourself.
Joerg
Pierre Attar wrote:
Hi,
I need to decide, straight in a pipeline, which doctype to apply to an xml serialization: it is impossible for me to know it before.
Therefore, I would like to use XML serializer parameters BUT within the pipeline. Something like :
<map:serialize type="xml">
<map:parameter name="doctype-public" value="{request-attr:doctype-public}"/>
<map:parameter name="doctype-system" value="{request-attr:doctype-system}"/>
</map:serialize>
Does someone knows how to do that ? Do I need to write my own serializer or is it possible to use something yet existing ?
Thanks,
Pierre
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
