I wish to check that whether the input file is valid XHTML or not. As far as i can see, HTML::Tidy only allows to convert a HTML file to a XHTML file or it can just check that whether the input file is valid HTML or not.
Can anyone please throw some light on it.