Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 52519 invoked from network); 20 Mar 2000 20:42:37 -0000 Received: from pop.systemy.it (194.20.140.28) by locus.apache.org with SMTP; 20 Mar 2000 20:42:37 -0000 Received: from apache.org (pv28-pri.systemy.it [194.21.255.28]) by pop.systemy.it (8.8.8/8.8.3) with ESMTP id VAA26072 for ; Mon, 20 Mar 2000 21:42:34 +0100 Message-ID: <38D67FF2.5301C6A0@apache.org> Date: Mon, 20 Mar 2000 20:45:54 +0100 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: it,en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: [cocoon2][sitemap] multiple filters problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Nicolas Delahaye wrote: > > Hi, > > I need to create a sitemap that uses two xsl filters as: xml files -- > Xslt process --> xml -- Xslt process --> html. > I try to define : > > > class="org.apache.cocoon.components.parser.XercesParser"/> > > class="org.apache.cocoon.generators.FileGenerator"/> > > class="org.apache.cocoon.filters.XalanFilter"/> > class="org.apache.cocoon.filters.XalanFilter"/> > > class="org.apache.cocoon.serializers.XMLSerializer"/> > class="org.apache.cocoon.serializers.HTMLSerializer"/> > > > > > > > value="first.xsl"/> > > > value="second.xsl"/> > > > value="text/html"/> > > > > > > > Why the last filter is the only one applied ? You are using two XSLT filters so you should indicate so. I would do > Can we apply more than one filter with Cocoon 2 ? If you can't, it's a bug. the functionality _needs_ to be there. NOTE: since may clients normally break the lines at 72 cols, please, use a 1 char tab when indenting your XML or make sure that you don't break at 72 otherwise the whole thing is a mess to read (look above) -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- Missed us in Orlando? Make it up with ApacheCON Europe in London! ------------------------- http://ApacheCon.Com ---------------------