cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Setting mimetype for serializer
Date Thu, 13 Oct 2005 05:54:39 GMT
Le 13 oct. 05, à 06:14, Gerry Kaplan a écrit :
> ...Is there a serializer that will do this, or do I have to create a  
> new one?..

you can just *configure* a new one, here's an example for WML:

             <map:serializer
                 logger="sitemap.serializer.wml"
                 mime-type="text/vnd.wap.wml"
                 name="wml"
                 src="org.apache.cocoon.serialization.XMLSerializer">
                 <doctype-public>-//WAPFORUM//DTD WML  
1.1//EN</doctype-public>
                  
<doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype- 
system>
                 <encoding>ASCII</encoding>
                 <omit-xml-declaration>yes</omit-xml-declaration>
             </map:serializer>

-Bertrand


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


Mime
View raw message