cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@codeconsult.ch>
Subject Re: Quest for HTMLSerializer configuration
Date Mon, 25 Feb 2002 17:27:56 GMT
On Monday 25 February 2002 17:41, William Brogden wrote:
> Has anybody suceeded in configuring the default "html"
> serializer?

Here's my example, configuring just the encoding but for both HTML and 
XML serializers:

<map:serializers default="html">
        <map:serializer
            name="xml"
            mime-type="text/xml"
            src="org.apache.cocoon.serialization.XMLSerializer"
            pool-max="32"
            pool-min="16"
            pool-grow="4"
        >
             <encoding>iso-8859-1</encoding>
        </map:serializer>

        <map:serializer
            name="html"
            mime-type="text/html"
            src="org.apache.cocoon.serialization.HTMLSerializer"
        >
             <encoding>iso-8859-1</encoding>
        </map:serializer>

    </map:serializers>

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++






---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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