Your company here — click to reach over 10,000 unique daily visitors

ethxmlfilter - Man Page



Processes an XML file and removes all specified XML tags. The remaining tags are output and indentation can also be reformatted. ethxmlfilter is the opposite of ethxmlextract.


ethxmlfilter [-t|-k] [-l] [-i  indent] [-s  element]  [input_file]



Produces full help text.


Trims leading and trailing whitespace in tag contents.


Keeps newlines as-is in tags with purely whitespace that contain newlines. Default is to format as an empty list.


Adds comments with line numbers after each end tag. Makes comparison of resulting files easier since original line numbers are available.

-i indent

Sets indentation to use per level. Default is 4.

-s element

Specifies the name of the XML element to suppress. Can be used multiple times (maximum of 100) in any order.


Specifies the XML file to read. Default is stdin.


Intel Corporation Copyright(C) 2020-2024 EFSFFCLIRG (Man Page)