You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by Apache Wiki <wi...@apache.org> on 2005/11/10 10:07:21 UTC

[Cocoon Wiki] Update of "HTML Serializer" by DerekLastname

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by DerekLastname:
http://wiki.apache.org/cocoon/HTML_Serializer

The comment on the change is:
first draft

New page:
##language:en
== HTML Serializer ==

The secret to generating compliant 4.01 strict from Cocoon is to have the correct the 'HTML' serializer declaration in the sitemap. 

=== Example ===
{{{
 <map:serializer logger="sitemap.serializer.html"
      mime-type="text/html"
      name="html"
      src="org.apache.cocoon.serialization.HTMLSerializer">
   <doctype-public>-//W3C//DTD HTML 4.01//EN</doctype-public>
   <doctype-system>http://www.w3.org/TR/html4/strict.dtd</doctype-system>
 </map:serializer>
}}} 

Page output should now be HTML 4.01 with no namespaces or '/' characters in <br> tags for example.

(From a post by David Legg, 2005/11/10)