Man page - opaxmlfilter(8)
Packages contains this manual
- opafabricanalysis(8)
- opatop(8)
- opaextractperf2(8)
- opaxmlfilter(8)
- opashowallports(8)
- opaextractsellinks(8)
- opafindgood(8)
- opaextracterror(8)
- opacabletest(8)
- opaesmanalysis(8)
- opaextractbadlinks(8)
- opagentopology(8)
- opareports(8)
- opapingall(8)
- opacaptureall(8)
- opaextractstat(8)
- opaallanalysis(8)
- opaenableports(8)
- opaxmlgenerate(8)
- opaexpandfile(8)
- opagenchassis(8)
- opafirmware(8)
- opasorthosts(8)
- opachassisanalysis(8)
- opareport(8)
- opaswenableall(8)
- opa2rm(8)
- opadisablehosts(8)
- opafmconfigcheck(8)
- opaextractstat2(8)
- opasetupssh(8)
- opalinkanalysis(8)
- opadownloadall(8)
- opauploadall(8)
- opahostsmanalysis(8)
- opaxmlextract(8)
- opaxlattopology(8)
- opaswdisableall(8)
- opaledports(8)
- opacmdall(8)
- opacheckload(8)
- opagenesmchassis(8)
- opamergeperf2(8)
- opascpall(8)
- opaverifyhosts(8)
- opaextractlids(8)
- opafastfabric(8)
- opagenswitches(8)
- opadisableports(8)
- opaextractmissinglinks(8)
- opaxmlindent(8)
- opahostadmin(8)
- opashowmc(8)
- opaextractperf(8)
- opapaquery(8)
- opaextractlink(8)
- opachassisadmin(8)
- opaswitchadmin(8)
- opafmconfigdiff(8)
apt-get install opa-fastfabric
Manual
opaxmlfilter
NAMESyntax
Options
NAME
opaxmlfilter
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.
Syntax
opaxmlfilter [-t|-k] [-l] [-i indent ] [-s element ] [input_file]
Options
|
--help |
Produces full help text.
|
-t |
Trims leading and trailing whitespace in tag contents.
|
-k |
In tags with purely whitespace that contain newlines, keeps newlines as-is. Default is to format as an empty list.
|
-l |
Adds comments with line numbers after each end tag. This can make 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.
input_file
Specifies the XML file to read. Default is stdin.