You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christoph May <c....@hw-edv.de> on 2001/03/12 12:18:23 UTC

how to generate plain ascii-files with cocoon ?

Hello, 

i need to generate a file like this:

V 120301DOYMA Durchfuehrungssysteme              DOYMA GmbH und Co.,
Oyten                 copyright DOYMA                    04DEM
T;N;1;;1;;Type 9200;2;; ;
T;N;1;;3;;Einbauteile - Rohrdurchfuehrungen;4;; temperaturbest&auml;ndig
von - 40&deg; bis + 140&deg;


but all i can cocoon get to is the following:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-strict.dtd">
<datanorm>
V 120301DOYMA Durchfuehrungssysteme              DOYMA GmbH und Co.,
Oyten                 copyright DOYMA                    04DEM
T;N;1;;1;;Type 9200;2;; ;
T;N;1;;3;;Einbauteile - Rohrdurchfuehrungen;4;; temperaturbest&auml;ndig
von - 40&deg; bis + 140&deg;
</datanorm>
<!-- This page was served in 143 milliseconds by Cocoon 1.8.2 -->


So i need several things:

1. no output escaping ( i.e.: no conversion of รค to &auml;)
2. no HTML-comment generated by cocoon.
3. no DOCTYPE-reference.
4. no need to build up a root-tag ( in this case it is <datanorm>).

How can this be done ?


 Christoph May (cm@hw-edv.de)

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: how to generate plain ascii-files with cocoon ?

Posted by Lars Holm Nielsen <la...@hankat.dk>.
> 2. no HTML-comment generated by cocoon.

The last line of your cocoon.properties contains this:

verbosity=true

Set it to false.

Regards,
Lars Holm Nielsen


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>