Thanks,

just discovered that there are *lots* of options,
like fixing Word2k HTML :-)

Best Wishes,
Viktors Rotanovs
Phone +371 7377-472, fax +1 760-418-8128
viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs


-----Original Message-----
From: Uyttenhove Jan [mailto:[EMAIL PROTECTED]] 
Sent: 21 ÉÀÎÑ 2001 Ç. 13:39
To: '[EMAIL PROTECTED]'
Subject: RE: HTML generator, C2b1


The HTML generator works fine, but I had to modify the configuration of
tidy a little bit.

Tidy is configured using:     
tidy.setXmlOut(true);
tidy.setXHTML(true);

I don't know why it is configured this way setting both XML and XHTML,
but I removed the setXHTML and got nice XML output. Maybe if you remove
the setXML, you'll get nice XHTML :-) You can configure tidy yourself,
there are a lot of configuration options, take a look at the docs at
http://sourceforge.net/projects/jtidy/ (I attached the most important
one for you).

Maybe this will help you out.

Jan

Jan Uyttenhove
Software engineer
The E-corporation
http://www.the-ecorp.com


-----Original Message-----
From: Viktors Rotanovs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 12:23
To: [EMAIL PROTECTED]
Subject: HTML generator, C2b1


Hi,

here's what I'm trying to do:

1) get HTML from file via HTML generator, then serialize.
The file gets corrupted in some strange way :(
> is added in the beginning of the file, etc.

2) I'm trying to imagine that HTML generator does
tidy's job of converting HTML to XML :-) When I'm
trying to transform 1) before serialization, it gives
me source of the html, all < are converted to &lt;, etc.
Is there any way to convert to XHTML with Cocoon,
without using tidy?

Best Wishes,
Viktors Rotanovs
Phone +371 7377-472, fax +1 760-418-8128
viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs


---------------------------------------------------------------------
Please check that your question has not already been answered in the FAQ
before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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

Reply via email to