cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres, Judith" <judith.and...@rauser-ag.com>
Subject AW: how to remove the DTD wriiten at the top ?
Date Thu, 20 Jun 2002 14:33:21 GMT
What about commenting doctype-public and doctype-system out? Might help

Regards
Judith

> -----Urspr√ľngliche Nachricht-----
> Von:	Sebastien SACARD [SMTP:sebastien.sacard@kelkoo.com]
> Gesendet am:	Donnerstag, 20. Juni 2002 16:31
> An:	cocoon-users@xml.apache.org
> Betreff:	how to remove the DTD wriiten at the top ?
> 
> Hi,
> 
> I can't get rid off the DTD declaration written on top of the HTML pages 
> created with a default serializer :
>  
> <map:serializers default="html">
>    <map:serializer name="html" mime-type="text/html; charset ISO-8859-1" 
> src="org.apache.cocoon.serialization.HTMLSerializer">
>      <encoding>ISO-8859-1</encoding>
>      <doctype-public>-//W3C//DTD HTML 4.0 Transitional//EN
> </doctype-public>
>      
> <doctype-system>http://www.w3.org/TR/REC-html40/loose.dtd</doctype-system>
>      <omit-xml-declaration>true</omit-xml-declaration>
>      <indent>1</indent>
>    </map:serializer>
> 
> I thought the <omit-xml-declaration> was doing the trick, but it's not. 
> Is there somewhere else a parameter to define in order to remove these 
> 30ko of datas off my pages ?
> 
> Thanks a lot
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

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

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


Mime
View raw message