| 1 |
XMLStarlet Toolkit: Format XML document |
| 2 |
Usage: PROG fo [<options>] <xml-file> |
| 3 |
where <options> are |
| 4 |
-n or --noindent - do not indent |
| 5 |
-t or --indent-tab - indent output with tabulation |
| 6 |
-s or --indent-spaces <num> - indent output with <num> spaces |
| 7 |
-o or --omit-decl - omit xml declaration <?xml version="1.0"?> |
| 8 |
--net - allow network access |
| 9 |
-R or --recover - try to recover what is parsable |
| 10 |
-D or --dropdtd - remove the DOCTYPE of the input docs |
| 11 |
-C or --nocdata - replace cdata section with text nodes |
| 12 |
-N or --nsclean - remove redundant namespace declarations |
| 13 |
-e or --encode <encoding> - output in the given encoding (utf-8, unicode...) |
| 14 |
#ifdef LIBXML_HTML_ENABLED |
| 15 |
-H or --html - input is HTML |
| 16 |
#endif |
| 17 |
-h or --help - print help |
| 18 |
|