How To Validate a HTML file using W3c API

Hi,

I was trying to validate my HTM files for HTML5 Validation , but there was
no method exposed for it.

Found an url :
http://validator.w3.org/check?uri=http://www.example.com/&doctype=HTML5&output=soap12
This Returns an xml file containg the HTML5 errors and warnings.

simmilarly to update file an uploaded_file parameter is there , but
implementing this in above url :
http://validator.w3.org/check?uploaded_file=C:\Users\harshit\Desktop\xyz\10Most.htm&doctype=HTML5&output=soap12

This Url is just opening the w3c website.

Is there any way to upload a file and get the same xml file as as output.

Waiting for a response

Thanks
 Harshit

Received on Wednesday, 22 August 2012 13:42:22 UTC