Post details: Command line options of XML Cleaner 0.2.2 beta

10/06/05

Permalink 04:38:43 am, Categories: XML Cleaner, 242 words   English (US)

Command line options of XML Cleaner 0.2.2 beta

Command line options of XML Cleaner 0.2.2beta follow. XML Cleaner is a command line utility to filter and validate XML files.

[More:]

The following is output of xmlclean -help

Usage: xmlclean [-o OUTFILE] OPTIONS [INFILE]

Reads (with optional validation) and filters XML file.
By default reads stdin and writes to stdout,
what can be modified by INFILE and OUTFILE arguments

 COMMAND LINE OPTIONS 
Boolean options (denoted by *) can be optionally followed with 0 or 1,
without space (1 is default)

Misc:
-o FILE     Output to FILE instead of stdout
-u*         Remove unused namespace declarations
-x*         Output XML decl (default: true)
-S*         Output standalone="yes" (default: false) [MAY CHANGE IN FUTURE]
-d*         Output DTD (default: true)
-C*         Remove all comments (default: true)
-qq         Use double quotes for quoting (default)
-qa         Use apostrophes for quoting
-E*         Escape quotes and apostrophes (default)
Whitespace:
-w          Preserve all whitespace (default)
-wi         Remove ignorable whitespace
XML features:
-s URI      Set XML parser feature specified by the URI
-r URI      Reset XML parser feature specified by the URI
-V*         Validate XML against DTD (default: don't validate)
-X*         Load external entities (default: on) [-X0 DOES NOT WORK YET]
Empty tags output:
-ex         <x></x>
-e          <x/> (default)
-es         <x />
-en         Output line feed (\n) before slash
-er         Output carriage return (\r) before slash
-ern        Output \r\n before slash
-enr        Output \n\r before slash
Help:
-h|-help    This help message
-v|-version Output program version

Comments, Trackbacks, Pingbacks:

No Comments/Trackbacks/Pingbacks for this post yet...

Software Blog

See also my free software. This weblog will contain information about:
  • software developed by me;
  • my software patches (for others' software);
  • my software related reviews, comments, suggestions, ideas
and other misc software related things.

Recently ||

Last comments

Search

Syndicate this blog XML

Add to MyYahoo

What is RSS?

powered by
b2evolution