NAME:  rxp - XML parser program

SYNOPSIS:  rxp [-avVNSesbnmtx] [-c encoding] [url]

DESCRIPTION: rxp reads and parses XML from the URL (or
  standard input if none is provided) and writes it to standard
  output, optionally
    - expanding entities
    - defaulting attributes, and
    - translating to a different output encoding.

OPTIONS:

-a  Insert  declared  default values for omitted attributes.

-v  Be verbose.

-V  Validate the document.  Repeating  this  option will make the
    program exit after the first validity error (otherwise a
    warning will be printed for each one).

-N  Enable XML names-pace support. The document will be checked for
    correct namespace syntax, and if -b is specified, qualified
    element and attribute names  will  be  displayed  with  their URIs.

-S  Keep  track of xml:space attributes. This will only affect
    output when -b is specified.

-e  Expand  entity  references.

-s  Be silent (that is, suppress output).  Useful for benchmarking.

-b  Print output as "bits".

-n  Treat the  input  as  normalised SGML rather than XML.
    Not intended for  general use.

-m  Merge PCData across entity references. This will only affect
    the output when -b is specified.

-t  Read in the input as  a tree, rather than bits.  Should make
    no  difference to the output.

-x  XML well-formedness checking mode.  Suppress most warnings but
    treat all XML well-formedness errors as fatal.  Output is in
    "canonical XML".  This flag implies the -a and -e flags, and
    sets the output encoding to UTF-8 unless the -c flag is  given.

-c  encoding   - Produce output in the specified characterencoding.
    Known encodings  are  ISO-8859-1,  UTF-8,  ISO-10646-UCS  and
    UTF-16.  16-bit encoding names my be suffixed with -B or -L to
    specify big- or little-endian byte order (the default is
    the host byte order).  If no -c or -x option is given, output
    is in the same encoding as the input document.