drop-in-replacement for HTML::TreeBuilder::XPath