Rewrite using XPath library (HTML+XML), update examples

Use: HTML::TreeBuilder::XPath, XML::XPath::XMLParser