lxml, comparing nodes

code_berzerker emen999 at gmail.com
Wed Jul 23 17:37:38 CEST 2008


I'd like to know if there is any built in mechanism in lxml that lets
you check equality of two nodes from separate documents. I'd like it
to ignore attribute order and so on. It would be even better if there
was built in method for checking equality of whole documents (ignoring
document order). Please let me know if you know of such method or
existing scipt. I dont like reinventing the wheel :)



More information about the Python-list mailing list