lxml precaching DTD for document verification.

Roy Smith roy at panix.com
Sun Nov 27 15:29:13 EST 2011


In article <mailman.3078.1322420265.27778.python-list at python.org>,
 Gelonida N <gelonida at 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/).



More information about the Python-list mailing list