XML-WC
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
EXAMPLE
AUTHORS
SEE ALSO
NAME
xml-wc −
print height, depth and number of tags for each XML
file.
SYNOPSIS
|
xml-wc |
|
[OPTION]... [
[FILE]... [:XPATH]... ]... |
|
DESCRIPTION
xml-wc
prints simple statistics for one or more XML files on
standard output.
The statistics
are in order:
the height
(number of child tags of the root tag)
the depth
(maximum node length of document)
the number of
tags in the document
If more than
one input file is specified, statistics for each file are
printed on separate lines, and then final totals are printed
(or maximum for the depth).
OPTIONS
None.
EXIT STATUS
xml-wc returns
0 on success, or 1 otherwise.
EXAMPLE
xml-wc manuscript.xml
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)
|