dtd.pl

dtd.pl is a Perl library that parses an SGML document type defintion (DTD) and builds up data structures containing the structural content of the DTD.


Audience

I assume the reader knows about the scope of packages and how to access variables/subroutines defined in packages. If not, refer to perl(1) or any book on Perl. The reader should be familiar with the basic concepts of SGML.

Unless stated, or implied, otherwise, all Perl variables mentioned are within the scope of package dtd.


Usage

If installed correctly, the following Perl statement can be used to access the dtd library routines:

require "dtd/dtd.pl";

The following routines are defined:

Parsing Routines

Data Access Routines

Utility Routines


See Also

Here is a list of Perl programs that utilize dtd.pl:

dtd2html
Generate HTML documents that allows navigation through the stucture of an SGML DTD.
dtdtree
Generate content hierarchy trees of SGML elements (with the use of the DTDprint_tree routine).

Earl Hood, ehood@convex.com
dtd.pl 2.0.0