1
2opaxmlindent(8)        Master map: IFSFFCLIRG (Man Page)       opaxmlindent(8)
3
4
5

NAME

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

Syntax

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

Options

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