How on earth do I use JTidy to tidy xhtml?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Paul_Hunnisett
Posted On:   Wednesday, December 8, 2004 02:08 AM

I have an xhtml file that I'm accessing via a stream (I have no control over the original document). It claims to be valid xhtml but there are a few problems - tags not closed and that sort of thing.

What I need to do is use Jtidy (or some other Java API if anyone can recommend) to tidy up the xhtml and make it well formed, so that I can process it with XSLT.

Can anyone help?

About | Sitemap | Contact