Hi Bertrand. You are so helping! Thank you. I looked at the source code for HTMLGenerator and at API for Tidy class, so now I know what I have to add. But where should I do these changes and how do I compile the resulting code into my cocoon? Maybe you can give some clues, or at least give me some URL where I can read how to do it. I understand that I'm being to pressing, but I am very new to the cocoon, and know only the basic's basic. Thank you for helping to clear this issue for me.
Anna ----- Original Message ----- From: "Bertrand Delacretaz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 3:09 PM Subject: Re: HTML Tidy question On Monday 25 November 2002 14:00, Anna Afonchenko wrote: > Sorry for being stupid, but I've been to this page before, and I still > don't understand how can I improve HTMLGenerator to allow more > Tidy options to be set. >. . . No problem in asking! For this you'd need to change the source code of the HTMLGenerator class so that it takes more options from its configuration and passes them to the JTidy component that it uses. If successful, you can then contribute these HTMLGenerator patches to the Cocoon project. This requires Java skills and the ability to compile Cocoon from the CVS code. To get a feel for how hard this is, you can have a look at the HTMLGenerator source code at: http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon/gen eration/HTMLGenerator.java?rev=1.19&content-type=text/vnd.viewcvs-markup The generate() method contains most or all of the interface with JTidy. -Bertrand --------------------------------------------------------------------- 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]>