Two Laptop Bag
The moose likes Other JSE/JEE APIs and the fly likes HTML Validation using Tidy. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "HTML Validation using Tidy." Watch "HTML Validation using Tidy." New topic
Author

HTML Validation using Tidy.

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 362

Hi All,

I am using tidy for HTML validation in my application. I have following code that is used to set some properties of Tidy



But it is not working very well. I got few errors. But I know my html has some errors like two head tags. body inside another body tag. Can any one one guide me how can I validate all these errors/warnings using tidy?


Pawan Chopra
SCJP - DuMmIeS mInD
andreea bogdan
Greenhorn

Joined: May 12, 2011
Posts: 1
I am trying to use Tidy and I can't seem to find a good documentation of how to use it in my Java code.
Can you direct me to some very good documentation that i can follow so i can also set this up on my Windows/Linux machine?

Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML Validation using Tidy.
 
Similar Threads
Validation in Struts
Converting a jsp page to PDF using JTidy
How to Set DOM to use double quote instead of single quote
how to parse html using xpath to extract data
Action Mapping - Wildcard Methods - Good or Bad? (Struts 2)