1
2ethxmlfilter(8) EFSFFCLIRG (Man Page) ethxmlfilter(8)
3
4
5
7 ethxmlfilter
8
9
10
11 Processes an XML file and removes all specified XML tags. The remaining
12 tags are output and indentation can also be reformatted. ethxmlfilter
13 is the opposite of ethxmlextract.
14
16 ethxmlfilter [-t|-k] [-l] [-i indent] [-s element] [input_file]
17
19 --help
20
21 Produces full help text.
22
23
24 -t
25
26 Trims leading and trailing whitespace in tag contents.
27
28
29 -k
30
31 In tags with purely whitespace that contain newlines, keeps
32 newlines as-is. Default is to format as an empty list.
33
34
35 -l
36
37 Adds comments with line numbers after each end tag. This can
38 make comparison of resulting files easier since original line
39 numbers are available.
40
41
42 -i indent
43
44 Sets indentation to use per level. Default is 4.
45
46
47 -s element
48
49 Specifies the name of the XML element to suppress. Can be
50 used multiple times (maximum of 100) in any order.
51
52
53 input_file
54
55 Specifies the XML file to read. Default is stdin.
56
57
58
59Copyright(C) 2020 Intel Corporation ethxmlfilter(8)