From dev-return-94075-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Wed Apr 04 18:06:52 2007 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 95652 invoked from network); 4 Apr 2007 18:06:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 18:06:50 -0000 Received: (qmail 83067 invoked by uid 500); 4 Apr 2007 18:06:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 82983 invoked by uid 500); 4 Apr 2007 18:06:55 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 82970 invoked by uid 99); 4 Apr 2007 18:06:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 11:06:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 11:06:47 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HZ9sJ-0001yA-4Y for dev@cocoon.apache.org; Wed, 04 Apr 2007 11:06:27 -0700 Message-ID: <9842407.post@talk.nabble.com> Date: Wed, 4 Apr 2007 11:06:26 -0700 (PDT) From: alarcher To: dev@cocoon.apache.org Subject: Re: Remove from the output xml In-Reply-To: <4613E515.4020203@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: antoinelarcher@gmail.com References: <9841736.post@talk.nabble.com> <4613E515.4020203@gmx.de> X-Virus-Checked: Checked by ClamAV on apache.org Thanks very much ! Joerg Heinicke wrote: > > On 04.04.2007 19:33, alarcher wrote: > >> I try to find a way to remove the first line of the output xml in cocoon. >> Here's the xml after cocoon serialization : >> >> >> >> Do you know if there's a way to configure serializer for deleting the >> first >> line ? > > Hi Antoine, > > first please try the users list first for such kind of questions. The > dev list is more targeted for the development of Cocoon itself. > > Anyway, to answer your question: The parameter is called > omit-xml-declaration and can be set as parameter on the serializer. The > default sitemap [1] actually has set this parameter already on the wml > serializer: > > mime-type="text/vnd.wap.wml" name="wml" > src="org.apache.cocoon.serialization.XMLSerializer"> > -//WAPFORUM//DTD WML 1.1//EN > > http://www.wapforum.org/DTD/wml_1.1.xml > ASCII > yes > > > Regards > Joerg > > [1] > http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/webapp/sitemap.xmap?revision=477161&view=markup > > -- View this message in context: http://www.nabble.com/Remove-%3C-xml-version%3D%221.0%22-encoding%3D%22ISO-8859-1%22-%3E-from-the-output-xml-tf3527170.html#a9842407 Sent from the Cocoon - Dev mailing list archive at Nabble.com.