cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nesto" <nest...@libero.it>
Subject Re: XHTML Mobile profile
Date Mon, 10 Mar 2003 16:15:11 GMT
Try adding this to your MAIN sitemap.xmap in the serializers section:

<map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml-MobileProfile"
pool-grow="2" pool-max="64" pool-min="2" src="org.apache.cocoon.serialization.XMLSerializer">
<doctype-public"-//WAPFORUM//DTD XHTML Mobile 1.0//EN</doctype-public>
<doctype-system>http://www.wapforum.org/DTD/xhtml-mobile10.dtd</doctype-system>
<encoding>ISO-8859-1</encoding>
</map:serializer>

You may change the doctype or encoding if you want.
And then in your sitemap, you refer to this serializer writing:<map:serialize type="xhtml-MobileProfile"
/>

Hope this helps!
Nesto


----- Original Message ----- 
From: "zze-MORY Nicolas FTRD/DMI/REN" <n.mory@rd.francetelecom.com>
To: <cocoon-users@xml.apache.org>
Sent: Monday, March 10, 2003 1:16 PM
Subject: XHTML Mobile profile



does a xHTML Mobile profile SERIALIZER exists for cocoon ? 

---------------------------------------------------------------------
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