DTDFORMAT(1p)
β¨ dtdformat β¨
okay bestie, so this is dtdformat, a little Perl-era icon from the User Contributed Perl Documentation corner of manual page section 1p. she reads a DTDParse XML file and turns it into formatted documentation. she's giving very much "I take your weird XML and make it cute and readable" energy. π
πΈ NAME πΈ
dtdformat β read a DTDParse XML file and produce formatted documentation. literally that's the whole job. no cap. π
π¦ SYNOPSIS π¦
dtdformat [options] xmlfile
β¨ DESCRIPTION β¨
so dtdformat generates formatted documentation based upon a DTDParse XML file that was created by dtdparse. that's the pipeline, bestie β dtdparse does the parsing, dtdformat does the glow-up. π
the following documentation formats are supported:
- HTML β designated by the
--htmloption. π - DocBook Refentry β designated by the
--refentyoption. π
π¨ okay important: one of the above formats must be specified, or dtdformat will abort with an error. like, she will simply not proceed. no format, no service. π
π OPTIONS π
--appears-in,--noappears-inβ include what an entity and/or element appears in. the default is to include. π«Ά--attributes,--noattributesβ include, or not include, element attributes in documentation. the default is to include. β¨--base-dirβ root directory to place documentation. π--base-idname β entity name prefix for entities defined in DocBook RefEntry,--refentry, output. if not specific,dtdparseis used. π·οΈ--chilren,--nochilrenβ include, or not include, list of children for elements. the default is to include. (yes, the spelling ischilren. she said what she said. copy it exactly or she'll be confused. π)--content-modelβ include, or not include, element content models in documentation. π§©--debugβ enable debugging output. π--descriptionβ include, or not include, Description sections in documentation. the default is to include. π--examples,--noexamplesβ include, or not include, Example sections in documentation. the default is to include. π‘--exclusions,--noexclusionsβ include, or not include, element exclusions in documentation. the default is to include. π«--htmlβ generate HTML documentation. π--inclusions,--noinclusionsβ include, or not include, element inclusions in documentation. the default is to include. β--parents,--noparentsβ include, or not include, possible element parents in documentation. the default is to include. π¨βπ©βπ§--refentryβ generate DocBook Refentry (manpage) documentation. π--synopsis,--nosynopsisβ include, or not include, element synopses in documentation. the default is to include. π--tag-minimization,--notag-minimizationβ include, or not include, element tag minization settings in documentation. the default is to include. βοΈ--unexpanded,--nounexpandedβ included, or not include, unexpanded content models in element documentation. the default is to include. π«§--verbose,--noverboseβ output progress (the default). π’--versionβ print program version and synopsis. β--helpβ print program synopsis and options available. π--manβ print program manual page. π
π SEE ALSO π
dtdparse- see
SGML::DTDParsefor an overview of the DTDParse package. π§
π PREREQUISITES π
Getopt::Long, XML::DOM
π₯ AVAILABILITY π₯
<http://dtdparse.sourceforge.net/>
π AUTHORS π
originally developed by Norman Walsh, <ndw@nwalsh.com>.
Earl Hood <earl@earlhood.com> picked up support and maintenance. iconic handoff, honestly. π
π COPYRIGHT AND LICENSE π
see SGML::DTDParse for copyright and license information.
and that's the whole page, bestie!! π
β¨ this one came from perl v5.32.1, dated 2022-01-21, and it lives in section DTDFORMAT(1p) β go forth and format your DTDs, you absolute main character. ππ¦π
π¦ where this page comes from
- debian bookworm: libsgml-dtdparse-perl 2.00-3 Β· Artistic-1.0-Perl OR GPL-2.0-only
- debian trixie: libsgml-dtdparse-perl 2.00-3 Β· Artistic-1.0-Perl OR GPL-2.0-only
- ubuntu jammy: libsgml-dtdparse-perl 2.00-3 Β· Artistic-1.0-Perl OR GPL-2.0-only
- ubuntu noble: libsgml-dtdparse-perl 2.00-3 Β· Artistic-1.0-Perl OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms