cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mac Schwarz <>
Subject Re: How do I stop Cocoon from...
Date Thu, 10 Aug 2000 19:52:20 GMT
Søren Neigaard wrote:
> How do I stop Cocoon from writing "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
> 4.0//EN" "">" at the start, and
> "<!-- This page was served in 81 milliseconds by Cocoon 1.7.4 -->" at the
> end of every response?
> Med venlig hilsen/Best regards
> Søren Neigaard

That depends on the formatter you use. Have a look at the file section "XML Formatters". You could use the
'text/plain' formatter I think.

You can set it either as default formatter in the file
(formatter.default=...), in your XML files with the <?cocoon-format
type="..."?> PI or in your XSL file with 

I don't know how to avoid the '<!-- This page....>' at the end of the
responses. I remember a discussion about this topic in this list (or
cocoon-dev) but I think the directive to supress the message will be
introduced with Cocoon2. However the 'history of changes' document for
cocoon 1.8-dev (I use and refer to so maybe all of above won't apply to
your 1.7.4) states that the message is disabled at least for HTTP HEAD


Mac Schwarz / AERIA Projekt / Inst. f. Klassische Archaeologie
e-mail:  / Tel.: 09131-85-24791
 FAU Erlangen-Nuernberg   /   Kochstr.4   /   91054 Erlangen

View raw message