Scroll to navigation

DTDFORMAT(1p) User Contributed Perl Documentation DTDFORMAT(1p)

NAME

dtdformat - Read a DTDParse XML file and produce formatted documentation

SYNOPSIS

 dtdformat [options] xmlfile

DESCRIPTION

dtdformat generated formatted documentation based upon a DTDParse XML file created by dtdparse. The following documentation formats are supported:

Designated by the "--html" option.
Designated by the "--refenty" option.

One of the above formats must be specified, or dtdformat will abort with an error.

OPTIONS

Include what an entity and/or element appears in. The default is to include.
Include, or not include, element attributes in documentation. The default is to include.
Root directory to place documentation.
Entity name prefix for entities defined in DocBook RefEntry, "--refentry", output. If not specific, "dtdparse" is used.
Include, or not include, list of children for elements. The default is to include.
Include, or not include, element content models in documentation.
Enable debugging output.
Include, or not include, Description sections in documentation. The default is to include.
Include, or not include, Example sections in documentation. The default is to include.
Include, or not include, element exclusions in documentation. The default is to include.
Generate HTML documentation.
Include, or not include, element inclusions in documentation. The default is to include.
Include, or not include, possible element parents in documentation. The default is to include.
Generate DocBook Refentry (manpage) documentation.
Include, or not include, element synopses in documentation. The default is to include.
Include, or not include, element tag minization settings in documentation. The default is to include.
Included, or not include, unexpanded content models in element documentation. The default is to include.
Output progress (the default).
Print program version and synopsis.
Print program synopsis and options available.
Print program manual page.

SEE ALSO

dtdparse

See SGML::DTDParse for 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.

COPYRIGHT AND LICENSE

See SGML::DTDParse for copyright and license information.

2021-01-09 perl v5.32.0