in reply to XPath command line utility...

If you have XML::LibXML installed you can also try App::xml_grep2, which uses XPath instead of regexps to grep XML files.