Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 71694 invoked by uid 500); 6 Jun 2002 18:18:39 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 71685 invoked by uid 500); 6 Jun 2002 18:18:39 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 6 Jun 2002 18:18:39 -0000 Message-ID: <20020606181839.77461.qmail@icarus.apache.org> From: shannon@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/documentation/xdocs/faq faq-serializers.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N shannon 2002/06/06 11:18:39 Modified: src/documentation/xdocs/faq faq-serializers.xml Log: added more xhtml info as suggested by Vadim Revision Changes Path 1.3 +21 -1 xml-cocoon2/src/documentation/xdocs/faq/faq-serializers.xml Index: faq-serializers.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/faq/faq-serializers.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- faq-serializers.xml 6 Jun 2002 17:03:51 -0000 1.2 +++ faq-serializers.xml 6 Jun 2002 18:18:38 -0000 1.3 @@ -32,8 +32,28 @@ serializer converts it to HTML. For example, I have some <br/> elements which are converted to <br> elements. What can I do?

-Use the XML serializer. +Cocoon has serializer configured for XHTML. First, make sure to declare it in +your sitemap's component section (within map:serializers).

+ + -//W3C//DTD XHTML 1.0 Strict//EN + http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd + UTF-8 + +]]> + +

+Then, in any pipeline, simply use the serializer as follows. +

+ + +]]> + ---------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-cvs-help@xml.apache.org