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?
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?