HTML::Selector::XPath is a utility function to compile CSS2 selector to the equivalent XPath expression. WWW: http://search.cpan.org/dist/HTML-Selector-XPath/