4xpath(1)

4xpath1

Command-line tool for performing xpath queries on xml documents

Usage

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

Options

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.

--string

Print the string-value of the results.

source-uri

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.

expression

The XPath expression to evaluate.

Version

$Revision: 1.1 $

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

Author

Raphael Bossek <[email protected]>

From python-4suite-xml 1.0.2-7.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.