XML::Output

XML::Output is a Perl module for writing simple XML documents.
Download

XML::Output Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Brendt Wohlberg
  • Publisher web site:
  • http://search.cpan.org/~wohl/XML-DTD-0.03/lib/XML/Output.pm

XML::Output Tags


XML::Output Description

XML::Output is a Perl module for writing simple XML documents. XML::Output is a Perl module for writing simple XML documents.SYNOPSIS use XML::Output; open(FH,'>file.xml'); my $xo = new XML::Output({'fh' => *FH}); $xo->open('tagname', {'attrname' => 'attrval'}); $xo->pcdata('element content'); $xo->close(); close(FH);ABSTRACT XML::Output is a Perl module for writing simple XML documentsXML::Output is a Perl module for writing simple XML document. The following methods are provided.new $xo = new XML::Output;Constructs a new XML::Output object.open $xo->open('tagname', {'attrname' => 'attrval'});Open an element with specified name (and optional attributes)close $xo->close;Close an elementempty $xo->empty('tagname', {'attrname' => 'attrval'});Insert an empty element with specified name (and optional attributes)pcdata $xo->pcdata('element content');Insert textcomment $xo->comment('comment text');Insert a commentxmlstr print $xo->xmlstr;Get a string representation of the constructed document Requirements: · Perl


XML::Output Related Software