Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 48657 invoked from network); 4 Sep 2004 02:17:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Sep 2004 02:17:24 -0000 Received: (qmail 27965 invoked by uid 500); 4 Sep 2004 02:16:55 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 27910 invoked by uid 500); 4 Sep 2004 02:16:55 -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 27896 invoked by uid 99); 4 Sep 2004 02:16:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [208.145.81.85] (HELO mail.link77.net) (208.145.81.85) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Sep 2004 19:16:50 -0700 X-Scanned-By: RAE MPP/ClamAV http://raeinternet.com/mpp Received: from [4.226.33.34] (account lars_huttar@mail.jaars.org HELO dnshuttar) by mail.link77.net (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 47575674 for users@cocoon.apache.org; Fri, 03 Sep 2004 22:20:13 -0400 Reply-To: From: "Lars Huttar" To: Subject: RE: Writing files with cocoon Date: Fri, 3 Sep 2004 21:16:42 -0500 Message-ID: <005301c49225$387c9330$970614ac@dallas.sil.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <1094236357.2673.32.camel@localhost.localdomain> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Another way is using the source-writing transformer. http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transfor= mer.html We are using this successfully. I have not tried velocity/xmldb though so I can't say source-writing is better or worse. Lars > -----Original Message----- > From: Rui Alberto L. Gon=C3=A7alves = [mailto:rui-l-goncalves@ptinovacao.pt] > Sent: Friday, September 03, 2004 1:33 PM > To: users@cocoon.apache.org > Subject: Re: Writing files with cocoon >=20 >=20 > Hi David, > you can do this in various ways, I'm presenting to simple options. >=20 > Using velocity... See documentation/examples how to write > the velocity template. Just checking examples you can solve > your problem. >=20 > sitemap.xmap > > > > > >=20 > If you just want to use xslt...=20 >=20 > sitemap.xmap > > > > > > > > >=20 > dummy.xml is a file used just to start the pipeline with a=20 > generator. (this is not a really clean solution, but... :) > This file could be something like > Then in your stylesheet have something like: >=20 > =20 > > > > ...