The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XML::DTD::Include - Perl module representing an include section in a DTD

SYNOPSIS

  use XML::DTD::Include;

  my $inc = XML::DTD::Include->new('<![ INCLUDE [');
  $inc->parse($fh, $rt);

DESCRIPTION

  XML::DTD::Include is a Perl module representing an include section
  in a DTD. The following methods are provided.
new
 my $inc = XML::DTD::Include->new('<![ INCLUDE [');
 $inc->parse($fh, $rt);

Construct a new XML::DTD::Include object.

fwrite
 open(FH,'>file.xml');
 $inc->fwrite(*FH);

Write the include section to the specified file handle.

swrite
 $inc->swrite;

Return the include section as a string.

writexml
 $xo = new XML::Output({'fh' => *STDOUT});
 $inc->writexml($xo);

Write an XML representation of the include section.

SEE ALSO

XML::DTD, XML::DTD::Parser

AUTHOR

Brendt Wohlberg <wohl@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2004-2010 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.