Using the API for the W3C HTML Validator (WebProNews)
Using the API for the W3C HTML Validator (WebProNews)
The W3C has introduced an API for their HTML Validator. It is not a SOAP web service, but it does return XML that can be parsed, so now you have the ability to incorporate validation to any web application, Windows program or wherever you want. It works just as the normal validator, by specifying a URL, but you have to add the “output=soap12″ parameter to the URL like so: