Qt does not have a Beautiful Soup-style parser outside of the WebKit components that I am aware of. Most HTML is not XML so the XML tools, including XSLT, XPath and XQuery, are essentially useless.

You could look at Tidy for a way to handle the ill-disciplined mush that is HTML and make a valid, though not necessarily meaningful, XML document from it.