Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 1767 invoked from network); 28 Oct 2003 17:18:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Oct 2003 17:18:57 -0000 Received: (qmail 92648 invoked by uid 500); 28 Oct 2003 17:18:41 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 92633 invoked by uid 500); 28 Oct 2003 17:18:41 -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 92583 invoked from network); 28 Oct 2003 17:18:40 -0000 Received: from unknown (HELO sati.virbus.de) (145.253.246.81) by daedalus.apache.org with SMTP; 28 Oct 2003 17:18:40 -0000 Received: from sati.virbus.de (localhost [127.0.0.1]) by localhost (SMTP Server) with ESMTP id 7F16B166A8C for ; Tue, 28 Oct 2003 18:18:43 +0100 (MET) Received: from virbus.de (a183069.studnetz.uni-leipzig.de [139.18.183.69]) by sati.virbus.de (SMTP Server) with ESMTP id 42BF41669BB for ; Tue, 28 Oct 2003 18:18:43 +0100 (MET) Message-ID: <3F9EA514.7050306@virbus.de> Date: Tue, 28 Oct 2003 18:19:16 +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-gb, en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Writing plain text files? References: <18925.1067351173@www67.gmx.net> <3F9E80B4.5040406@domek.be> In-Reply-To: <3F9E80B4.5040406@domek.be> 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 28.10.2003 15:44, Jorg Heymans wrote: > why not write your own transformer ? At the end it's only a simple stylesheet. Joerg > Stephanie Zohner wrote: > >> Hi, >> >> I want to write plain text files with Cocoon, What's the best way to do >> this? >> >> The task sounds simple, but for me, it turned out to be quite tricky. >> >> So far I have tried with the SourceWriteTransformer. However, it still >> requires at least a root tag for its output. >> Another problem ist, that I need line breaks in my output text file and I >> don't know, how to tell the XSLT Processor to do this. >> >> To make myself a bit clearer: >> I would like to turn an XML-fragment like this, >> >> >> bla bla bla bla bla bla >> murmel murmel murmel >> >> >> into: >> >> #-----Beginning of text file-------- >> >> bla bla bla bla bla bla murmel murmel murmel >> #-----End of text file--------------- >> >> Does anybody have an idea? >> >> Thanks, >> >> Stephanie --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org