Brendt Wohlberg > XML-DTD > XML::DTD::Comment

Download:
XML-DTD-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

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

SYNOPSIS ^

  use XML::DTD::Comment;

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

DESCRIPTION ^

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 ^

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

AUTHOR ^

Brendt Wohlberg <wohl@cpan.org>

COPYRIGHT AND LICENSE ^

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.