XML-LS
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
EXAMPLE
BUGS
AUTHORS
SEE ALSO
NAME
xml-ls −
list the contents of an XML file.
SYNOPSIS
|
xml-ls |
|
[OPTION]... [
[FILE]... [:XPATH]... ]... |
|
DESCRIPTION
xml-ls
prints the first level of hierarchical structure matching
XPATH in FILE, in a manner similar to the way ls(1)
prints file and directory names, but as an XML file. If no
FILE is given, then the standard input is read. By
repeatedly varying the XPATH, the structure of an XML
document can be inferred.
OPTIONS
--attributes
Show the attributes if
present.
EXIT STATUS
xml-ls returns
0 on success, or 1 otherwise.
EXAMPLE
Summarize the
third level structure of a document:
xml-ls -a radio.rss :/rss/channel/item
BUGS
It isn’t
clear yet what a good display format for xml-ls should look
like, and this may evolve substantially.
AUTHORS
Laird
A. Breyer is the original author of this software. The
source code (GPLv3 or later) for the latest version is
available at the following locations:
http://www.lbreyer.com/gpl.html
http://xml-coreutils.sourceforge.net
SEE ALSO
xml-coreutils(7)
|