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


XML-DTD documentation  | view source Contained in the XML-DTD distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  use XML::DTD::Include;

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

DESCRIPTION

Top

  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

Top

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

AUTHOR

Top

Brendt Wohlberg <wohl@cpan.org>

COPYRIGHT AND LICENSE

Top


XML-DTD documentation  | view source Contained in the XML-DTD distribution.