Blame IbaTools/man/opaxmlfilter.manPage

Packit 857059
.\" .\" *********************************************************************
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *             Copyright 2015-2019, Intel Corporation                *
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *                       All Rights Reserved.                        *
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *********************************************************************
Packit 857059
Packit 857059
.TH opaxmlfilter 8 "Intel Corporation" "Copyright(C) 2015\-2019" "IFSFFCLIRG (Man Page)"
Packit 857059
.SH NAME
Packit 857059
opaxmlfilter
Packit 857059
Packit 857059
Packit 857059
.PP
Packit 857059
Processes an XML file and removes all specified XML tags. The remaining tags are output and indentation can also be reformatted. opaxmlfilter is the opposite of opaxmlextract.
Packit 857059
.SH Syntax
Packit 857059
opaxmlfilter [-t|-k] [-l] [-i  \fIindent\fR] [-s  \fIelement\fR]  \fI[input\(ulfile]\fR
Packit 857059
.SH Options
Packit 857059
Packit 857059
.TP 10
Packit 857059
--help
Packit 857059
Packit 857059
Produces full help text.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-t
Packit 857059
Packit 857059
Trims leading and trailing whitespace in tag contents.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-k
Packit 857059
Packit 857059
In tags with purely whitespace that contain newlines, keeps newlines as-is. Default is to format as an empty list.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-l
Packit 857059
Packit 857059
Adds comments with line numbers after each end tag. This can make comparison of resulting files easier since original line numbers are available.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-i \fIindent\fR
Packit 857059
Packit 857059
Sets indentation to use per level. Default is 4.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-s \fIelement\fR
Packit 857059
Packit 857059
Specifies the name of the XML element to suppress. Can be used multiple times (maximum of 100) in any order.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fIinput\(ulfile\fR
Packit 857059
Packit 857059
Specifies the XML file to read. Default is stdin.