cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephanie Zohner" <>
Subject Writing plain text files?
Date Tue, 28 Oct 2003 14:26:13 GMT

I want to write plain text files with Cocoon, What's the best way to do

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,

<line> bla bla bla bla bla bla </line>
<line> murmel murmel murmel </line>


#-----Beginning of text file--------

 bla bla bla bla bla bla 
 murmel murmel murmel 

#-----End of text file---------------

Does anybody have an idea?



NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter

+++ GMX - die erste Adresse für Mail, Message, More! +++

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message