XML::Generator

XML::Generator is a Perl extension for generating XML.
Download

XML::Generator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • XML::Generator Team
  • Publisher web site:
  • http://search.cpan.org/~bholzman/XML-Generator-0.99/Generator.pm

XML::Generator Tags


XML::Generator Description

XML::Generator is a Perl extension for generating XML. XML::Generator is a Perl extension for generating XML.SYNOPSIS use XML::Generator ':pretty'; print foo(bar({ baz => 3 }, bam()), bar(, "Hey there, world")); # OR use XML::Generator (); my $X = XML::Generator->new(':pretty'); print $X->foo($X->bar({ baz => 3 }, $X->bam()), $X->bar(, "Hey there, world"));Either of the above yield: < foo xmlns:qux="http://qux.com/" > < bam / > < /bar > < qux:bar >Hey there, world< /qux:bar > < /foo >In general, once you have an XML::Generator object, you then simply call methods on that object named for each XML tag you wish to generate.By default, use XML::Generator; tries to export an AUTOLOAD subroutine to your package, which allows you to simply call any undefined methods in your current package to get pieces of XML. If you already have an AUTOLOAD defined then XML::Generator will not override it unless you tell it to. See "STACKABLE AUTOLOADs". Requirements: · Perl


XML::Generator Related Software