man dtdview (Commandes) - interactively study an SGML Document Type Definition (DTD)

NAME

dtdview - interactively study an SGML Document Type Definition (DTD)

SYNOPSIS

dtdview [options ] [file] [ < commands]

DESCRIPTION

dtdview is an interactive querying tool to examine the contents on an SGML Document Type Definition (DTD). The DTD may be specifed by file, or as the argument of one of the commands understood by dtdview.

dtdview can alternatively be used in batch mode. It will take commands from STDIN. Full details are provided in the online documentation; see below.

dtdview is one of a suite of tools available in the perlSGML package, which together help one inspect, study, and edit if necessary, an SGML Document Type Definitions (DTD). The package was written by Earl Hood (ehood@medusa.acs.uci.edu).

This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the HTML format; see below.

OPTIONS

This program takes the following command-line options:

-catalog file
Use file to map public identifiers and external entities to system files.
-help
Show summary of options.
-verbose
Print parsing information if a DTD is specified on the command-line.

COMMANDS

dtdview takes any one of two dozen commands. A few of these are:

help [element] With no argument, this command lists all the other commands. With an argument, it provides a usage statement and a short description of the action of the named command.

content [element] With no argument, list the content of the command currently at the top of element hierarchy. Otherwise, list the content of the named element.

tree [element [depth] ] Print content tree of element with a depth of depth. The default depth is 2.

SEE ALSO

dtd2html (1), dtddiff (1), dtdtree (1), and stripsgml (1). These commands, as well as perlSGML's library of Perl modules for parsing of the SGML DTD's are documented fully by The perlSGML Manual (link to URL http://www.oac.uci.edu/indiv/ehood/perlSGML/doc/html/perlSGML.html) .

AUTHOR

This manual page was written by Susan G. Kleinmann sgk@debian.org for the Debian GNU/Linux system (but may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license can be found under /usr/share/common-licenses/FDL.