FYI: I use this declaration for my xhtml serialization:

<map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html; charset=utf-8" name="xhtml" pool-grow="2" pool-max="64" pool-min="10" src="org.mycompany.cocoon.serialization.XMLSerializer">
<doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
<encoding>UTF-8</encoding>
</map:serializer>


Kind Regards,
Jan

beyaRecords wrote:

On 27 Jan 2005, at 10:43, Jan Hoskens wrote:

public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer
{


    public void endPrefixMapping(String prefix) throws SAXException
    {
        // do nothing
    }

    public void startPrefixMapping(String prefix, String uri)
            throws SAXException
    {
        // do nothing
    }
}


Hi Jan,
I like the sound of what you are saying but could you please expand on your explanation?


So I create my new XMLSerializer class but how do I call it into my sitemap?

many regards

Uzo


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to