4xpath(1) command-line tool for performing XPath queries on XML documents


4xpath [-h | --help ] [-V | --version ] [-D | --define=NAME=VALUE ] [-N | --namespace=PREFIX=NAMESPACE ] [-e | --stacktrace-on-error ] [--string ] {source-uri } {expression }


The program follows the usual GNU command line syntax, with long options starting with two dashes (`-').

-h, --help
Show detailed help message.
-V, --version
Display version information and exit.
-D, --define=NAME=VALUE
Bind a top-level parameter.
-N, --namespace=PREFIX=NAMESPACE
Define a namespace/prefix binding.
-e, --stacktrace-on-error
Display a stack trace when an error occurs.
Print the string-value of the results.
The URI of the XML document to parse, or "-" to indicate standard input. The document's root node will be used as the context node.
The XPath expression to evaluate.


Raphael Bossek <[email protected]>


$Revision: 1.1 $


Copyright © 2006 Raphael Bossek
  This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.