DAPS-XMLFORMAT(1)
β¨ NAME β¨
okay bestie, so this is daps-xmlformat β a program that lives inside the DAPS software package, which is a whole complete environment for building HTML, PDF, ePUB and other formats from DocBook XML. π
π DESCRIPTION π
This manual page documents, briefly, the daps-xmlformat program. Short and sweet, no cap.
So here's the vibe: daps-xmlformat is a wrapper around the xmlformat command, and xmlformat is what you use to format XML-formatted files. You literally just pass the file name to the program on the command line. That's it. That's the whole thing. π¦
Wanna see the usage help? Use the --help switch and you get something exactly like this:
Usage: xmlformat [options] xml-file
Options:
--help, -h
Print this message and exit.
--backup suffix -b suffix
Back up the input document, adding suffix to the input
filename to create the backup filename.
--canonized-output
Proceed only as far as the document canonization stage,
printing the result.
--check-parser
Parse the document into tokens and verify that their
concatenation is identical to the original input document.
This option suppresses further document processing.
--config-file file_name, -f file_name
Specify the configuration filename. If no file is named,
xmlformat uses the file named by the environment variable
XMLFORMAT_CONF, if it exists, or ./xmlformat.conf, if it
exists. Otherwise, xmlformat uses built-in formatting
options.
--in-place, -i
Format the document in place, replacing the contents of
the input file with the reformatted document. (It's a
good idea to use --backup along with this option.)
--show-config
Show configuration options after reading configuration
file. This option suppresses document processing.
--show-unconfigured-elements
Show elements that are used in the document but for
which no options were specified in the configuration
file. This option suppresses document output.
--verbose, -v
Be verbose about processing stages.
--version, -V
Show version information and exit.
Now let's break those options down one by one, because you deserve to know your flags, periodt. π
πΈ OPTIONS πΈ
--help,-hβ prints that message right there and then dips out. no further drama.--backup suffix,-b suffixβ backs up the input document by tacking suffix onto the input filename to make the backup filename. protect your files bestie π«Ά--canonized-outputβ only goes as far as the document canonization stage, then prints the result. stops early on purpose, iconic behaviour honestly.--check-parserβ parses the document into tokens and verifies that concatenating them gives you something identical to the original input document. note: this option suppresses further document processing. it does its one job and then it's done. π--config-file file_name,-f file_nameβ specifies the configuration filename. and if no file is named? thenxmlformatgoes looking for the file named by the environment variableXMLFORMAT_CONF, if it exists, or./xmlformat.conf, if it exists. and if none of that exists? thenxmlformatjust uses built-in formatting options. fallback queen. π--in-place,-iβ formats the document in place, replacing the contents of the input file with the reformatted document.
β οΈ okay so this is important: it's a good idea to use --backup along with this option. like, actually. because "in place" means in place. π
--show-configβ shows the configuration options after reading the configuration file. this option suppresses document processing. it's here to spill config tea, not to format.--show-unconfigured-elementsβ shows the elements that are used in the document but for which no options were specified in the configuration file. this option suppresses document output. nosy in the best way π₯--verbose,-vβ be verbose about processing stages. tell me everything, I'm listening.--version,-Vβ shows version information and exits. slay.
π THIS MAN PAGE AUTHOR π
- Filippo Rusconi
<lopippo@debian.org>
π AUTHORS π
- Frank Sundermeyer
<fsundermeyer@opensuse.org>β Developer - Thomas Schraitle
<toms@opensuse.org>β Developer - Stefan Knorr β Developer
- Berthold Gunreben β Previous Developer of susedoc
- Jana Jaeger β Previous Developer of susedoc
and that's the whole page bestie, you made it to the end π₯³ this was daps-xmlformat version @DAPS_VERSION@, dated 01/10/2020, and the man page is DAPS-XMLFORMAT(1). go format something cute π
β¨πΈ
π¦ where this page comes from
- ubuntu jammy: daps 3.0.0-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms