Re: Convert string from html to xhtml

2007-01-14 Thread Bertrand Delacretaz
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 c

Re: Convert string from html to xhtml

2007-01-14 Thread philguillard
Thanks a lot for this quick response. Phil Steven D. Majewski wrote: On Jan 14, 2007, at 2:45 PM, philguillard wrote: Hi, I'd like to convert html code to xhtml, but that code is coming from database, i know to use html generator -thus jtidy-, but this time it is not a html file that i

Re: Convert string from html to xhtml

2007-01-14 Thread Steven D. Majewski
On Jan 14, 2007, at 2:45 PM, philguillard wrote: Hi, I'd like to convert html code to xhtml, but that code is coming from database, i know to use html generator -thus jtidy-, but this time it is not a html file that i download, and i can't call a generator for each database field. Anyb

Convert string from html to xhtml

2007-01-14 Thread philguillard
Hi, I'd like to convert html code to xhtml, but that code is coming from database, i know to use html generator -thus jtidy-, but this time it is not a html file that i download, and i can't call a generator for each database field. Anybody any idea? Is there a way to call jtidy to convert a