HTML parsing example?

Jeffrey Walton <[email protected]> Tue, 11 Mar 2014 05:03:27 -0400
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <CAH8yC8=yfKRvFoAYm3E9Z7x9Q7rbn1_Vw9Sq=fjfw4Hx2y=M9w@mail.gmail.com>
I was looking for a HTML parsing example at
http://www.xmlsoft.org/examples/. It appears most (all?) examples are
XML related.

Searching for HTML results in HTML docs, but no examples:

$ find . -iname HTML
./result/HTML
./doc/html
./test/HTML

Does anyone have a resource on HTML parsing with libxml2?