From: James Britt Date: 2004-12-26T00:20:10+09:00 Subject: Re: HTML and CSS validation Bil Kleb wrote: > What's the best method to automate the validation > of HTML (and CSS)? > > In 2001, someone mentioned hooking up to W3's validation > service, http://validator.w3.org/, but my lame search > abilities have failed to find anything more... I don't have any suggestions for CSS (though I believe their are Web-based validators out there someplace), but for local validation I sometimes use RXP. It's a fast validating XML parser, written in C, that runs on a variety of platforms. I like it because there is a Windows version, and I can quickly check an XML file against a DTD. http://www.cogsci.ed.ac.uk/~richard/rxp.html It's not automated, though running it via backticks and grepping the output should be easy. Writing a proper Ruby binding shouldn't be too hard either; hell, there's a Python binding, so there can't be anything too tricky. Of course, I say this while not planning to do it myself. James > > Thanks,