macOS / binaries /

xpath

/usr/bin/xpath
A script to query xpath statements in xml documents

xpath uses the XML::XPath perl module to make XPath queries to any XML document. The script takes any number of XPath pointers and tries to apply them to each XML document given on the command line.

source: man