XML::DTD::Comment - Perl module representing a comment in a comment in a DTD


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

Index


NAME

Top

XML::DTD::Comment - Perl module representing a comment in a comment in a DTD

SYNOPSIS

Top

  use XML::DTD::Comment;

  my $cmt = XML::DTD::Comment->new('<!-- A comment -->');

DESCRIPTION

Top

XML::DTD::Comment is a Perl module representing a comment in a comment in a DTD. The following methods are provided.

new
  my $cmt = XML::DTD::Comment->new('<!-- A comment -->');

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

writexml
 open(FH,'>file.xml');
 my $xo = new XML::Output({'fh' => *FH});
 $cmt->writexml($xo);

Write an XML representation.

SEE ALSO

Top

XML::DTD, XML::DTD::Component

AUTHOR

Top

Brendt Wohlberg <wohl@cpan.org>

COPYRIGHT AND LICENSE

Top


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