Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 26149 invoked from network); 7 Jan 2004 11:41:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Jan 2004 11:41:35 -0000 Received: (qmail 71010 invoked by uid 500); 7 Jan 2004 11:41:24 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 70923 invoked by uid 500); 7 Jan 2004 11:41:23 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 70727 invoked from network); 7 Jan 2004 11:41:22 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 7 Jan 2004 11:41:22 -0000 Received: (qmail 22371 invoked by uid 65534); 7 Jan 2004 11:41:20 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp007) with SMTP; 07 Jan 2004 12:41:20 +0100 X-Authenticated: #3483660 Message-ID: <3FFBF099.3050609@gmx.de> Date: Wed, 07 Jan 2004 12:42:17 +0100 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: de-de, de, en-us, en-gb, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Choosing the doctype of an xml serialization within pipeline at run-time References: <6.0.1.1.2.20040107120328.01c83e40@localhost> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 : >> >> >> > value="{request-attr:doctype-public}"/> >> > value="{request-attr:doctype-system}"/> >> >> >> 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: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org