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
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
I had this problem also , this change in
org.apache.cocoon.transformation.HTMLTransformer
solved the problem, the change is near line 173
new ByteArrayInputStream(text.getBytes(UTF-8));
---
.cPA8 {
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
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.
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
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