I'd also recommend looking at the dom4j framework which is similar to JDOM,
but with many enhancements.  It's currently be used as part of the first
JAXM release from Sun, btw.

There are some good samples illustrating who to combine jtidy, xslt, etc.
with dom4j to perform the kinds of operations you describe.

Rob
----- Original Message -----
From: "lucas" <[EMAIL PROTECTED]>
To: "COCOON" <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 4:41 AM
Subject: problems with Jtidy


> Hi All,
>
> I have a problem integrating Jtidy into my cocoon application. Any Help is
> appreciated.
>
> I am using Cocoon and JDOM to generate the XML at the server and applying
a
> certain XSLT stylesheet to it. At a certain point of the transformation, I
> need to insert a mal-formed HTML into the XSLT output stream. I believe I
> can use JTidy to actually convert this to a well-formed HTML and then have
> it inserted into the output. My problem is that I just cant start off.
>
> How do I reference the XSLT to call the Jtidy application. Can Jtidy
accept
> a ill-formed HTML on the fly, generate a XHTML and send the XHTML and the
> control back to the XSLT for further processing.
>
> If anybody has done this, a small piece of code will be nice.
>
> Thanks
>
> Lucas Pons Bayarri
> Etra I+D
> Valencia, Spain
> +34 96 330 40 82
>
>
> ---------------------------------------------------------------------
> 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