Scroll to navigation

ethxmlindent(8) EFSFFCLIRG (Man Page) ethxmlindent(8)

NAME

ethxmlindent

Takes well-formed XML as input, filters out comments, and generates a uniformly-indented equivalent XML file. Use ethxmlindent to reformat files for easier reading, reviewing. Can also be used for reformating a file for easy comparison with a diff tool.

Syntax

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

Options

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.

Sets indentation to use per level. Default is 4.

Specifies the XML file to read. Default is stdin.

Intel Corporation Copyright(C) 2020-2023