XML::DTD::Parser - Perl module for parsing XML DTDs
use XML::DTD::Parser; my $dp = new XML::DTD::Parser;
XML::DTD::Parser is a support module for top level parsing of an XML DTD. The following methods are provided.
my $dp = new XML::DTD::Parser;
Construct a new XML::DTD::Parser object.
if (XML::DTD::Parser->isa($obj) { ... }
Test object type
open(FH,'<file.dtd'); my $rt = ''; $dp->parse(*FH, $rt);
Parse a DTD file.
XML::DTD
Brendt Wohlberg <wohl@cpan.org>
Copyright (C) 2004-2006 by Brendt Wohlberg
This library is available under the terms of the GNU General Public License (GPL), described in the GPL file included in this distribution.
To install XML::DTD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::DTD
CPAN shell
perl -MCPAN -e shell install XML::DTD
For more information on module installation, please visit the detailed CPAN module installation guide.