OK, thank you, I now understand how to set a doctype.
But what about other settings, like converting quotes to entities.
Not that I need it so much, but I am just curious, why this doesn't work
through
jtidy-config. I just want to know if that's me doing something wrong, or
maybe this is some JTidy/Cocoon bug?

Thank you for answering.

Anna

----- Original Message -----
From: "Martin Holz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 7:00 PM
Subject: Re: Configuring JTidy



You should have a look, how reponsibitities are shared between
generators, transformers and serializers in cocoon.
Setting the doctype is responsibility of the serializer
Any attempt of a generator to set the doctype is ignored.
So the HTMLGenerator is only doing half of JTidys job.

You can configure the HTMLSerializer to include the
doctype.
See http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html

Martin

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

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


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

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

Reply via email to