1
2ethxmlindent(8)              EFSFFCLIRG (Man Page)             ethxmlindent(8)
3
4
5

NAME

7       ethxmlindent
8
9
10
11       Takes  well-formed  XML as input, filters out comments, and generates a
12       uniformly-indented equivalent XML file. Use  ethxmlindent  to  reformat
13       files  for  easier reading and review, also to reformat a file for easy
14       comparison with diff.
15

Syntax

17       ethxmlindent [-t|-k] [-i  indent] [ input_file]
18

Options

20       --help
21
22                 Produces full help text.
23
24
25       -t
26
27                 Trims leading and trailing whitespace in tag contents.
28
29
30       -k
31
32                 In tags with purely whitespace that contain  newlines,  keeps
33                 newlines as-is. Default is to format as an empty list.
34
35
36       -i indent
37
38                 Sets indentation to use per level. Default is 4.
39
40
41       input_file
42
43                 Specifies the XML file to read. Default is stdin.
44
45
46
47Copyright(C) 2020              Intel Corporation               ethxmlindent(8)
Impressum