GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HXCOUNT(1) HTML-XML-utils HXCOUNT(1)

hxcount - count elements and attributes in HTML or XML files

hxcount [ file-or-URL ]

The hxcount 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:
file-or-URL
The name or URL of an HTML or XML file. If absent, standard input is read instead.

The following exit values are returned:
0
Successful completion.
> 0
An error occurred in the parsing of the HTML or XML file. hxcount will try to recover from the error and produce output anyway.

To use a proxy to retrieve remote files, set the environment variables http_proxy and ftp_proxy. E.g., http_proxy="http://localhost:8080/"

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 curl(1) or wget(1) to retrieve such files.)

asc2xml(1), hxprune(1), hxnormalize(1), hxnum(1), hxtoc(1), hxunent(1), xml2asc(1), UTF-8 (RFC 2279)
10 Jul 2011 7.x

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.