On 15.01.2007, at 07:38, Bertrand Delacretaz wrote:

On 1/14/07, philguillard <[EMAIL PROTECTED]> wrote:

... Anybody any idea? Is there a way to call jtidy to convert a
string in java?...

You could also use the (Neko)HtmlTransformer, see the samples at
http://cocoon.zones.apache.org/demos/release/samples/blocks/html/ welcome.
This allows you to cleanup HTML code contained in XML elements.

If you are just after a library - I found tagsoup to do a very good job!

 http://mercury.ccil.org/~cowan/XML/tagsoup/

cheers
--
Torsten



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

Reply via email to