http://www.perlmonks.org?node_id=868105


in reply to XPath command line utility...

XML-Twig comes with xml_grep. It doesn't accept all XPaths, though.