Thanks for the reply. Is that a Perl script? I was actually looking for the command line utility mentioned here on this page: http://www.xml.com/pub/a/2002/04/17/perl-xml.html
Matt Sergeant's fine XML::XPath module provides a way access the contents of XML documents using the W3C-recommended XPath Language. This module also installs a Perl utility called xpath