Binary package “xgrep” in ubuntu trusty

grep-like utility for XML files

 xgrep provides facilities for searching content in XML files. The
 search is specified either as an XPath via the -x flag, or a custom
 syntax, including extended regular expressions, via the -s flag.
 Multiple input files may be specified; if none are provided, input is
 read from stdin.