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