XML-to-HTML converter for U.S. Congress bill text in soon-to-be legacy XML. See https://xml.house.gov/ for the schema.
import congressxml
html_tree = congressxml.convert_xml("bill.xml")
congressxml.write_html(html_tree, "bill.html")
or
python -m congressxml path/to/bill.xml