cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Update of "HTML Serializer" by DerekLastname
Date Thu, 10 Nov 2005 09:07:21 GMT
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)

Mime
View raw message