SimonSapin/cssselect — pull request #19 by sjp (2012-11-15 08:49:11+00:00)
Title: Use lang() for XML docs

Hi,

I've implemented the use of `lang()` for XML docs and moved the previous implementation (which works adequately for HTML) to `HTMLTranslator`.

Seems to work OK in the contrived test cases I've written.