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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to