In <roy-6f0fd0.15291227112...@news.panix.com> Roy Smith <r...@panix.com> writes:
> In article <mailman.3078.1322420265.27778.python-l...@python.org>, > Gelonida N <gelon...@gmail.com> wrote: > > > I'd like to verify some (x)html / / html5 / xml documents from a server. > I'm sure you could roll your own validator with lxml and some DTDs, but > you would probably save yourself a huge amount of effort by just using > the validator the W3C provides (http://validator.w3.org/). With regards to XML, he may mean that he wants to validate that the document conforms to a specific format, not just that it is generally valid XML. I don't think the w3 validator will do that. -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- http://mail.python.org/mailman/listinfo/python-list