Switch to using lxml xml parser instead of the html parser.

Seems more compatible and doesn't break tests.