Section: HTML-XML-utils (1)
Updated: 10 Jul 2011
Return to Main Contents
hxcount - count elements and attributes in HTML or XML files
[ file-or-URL ]
command counts the number of elements and attributes of each type that
appears in the input and prints a report on stdout.
The following operand is supported:
The name or URL of an HTML or XML file. If absent, standard input is read
The following exit values are returned:
- > 0
An error occurred in the parsing of the HTML or XML file.
will try to recover from the error and produce output anyway.
To use a proxy to retrieve remote files, set the environment variables
Don't trust the output if there were errors in the input.
Remote files (specified with a URL) are currently only supported for
HTTP. Password-protected files or files that depend on HTTP "cookies"
are not handled. (You can use tools such as
to retrieve such files.)
UTF-8 (RFC 2279)
- EXIT STATUS
- SEE ALSO
This document was created by
using the manual pages.
Time: 19:05:32 GMT, January 09, 2013