I use (jtidy)HtmlTransformer.

I had XSP (XML file in utf-8, database tables and jdbc connection in utf-8) --> html or XML Serializer in UTF-8 this was ok, and i get character encoding troubles in my language after inserting the HTMLTransformer, confusion between ISO-8859-1 and UTF-8 ?...

I guess it is not possible to configure that in the html transformer?

Phil

Torsten Curdt wrote:

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]



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

Reply via email to