XML::Writer::Simple

XML::Writer::Simple is a Perl module to create XML files easily!
Download

XML::Writer::Simple Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Alberto Simoes
  • Publisher web site:
  • http://search.cpan.org/~ambs/XML-Writer-Simple-0.01/lib/XML/Writer/Simple.pm

XML::Writer::Simple Tags


XML::Writer::Simple Description

XML::Writer::Simple is a Perl module to create XML files easily! XML::Writer::Simple is a Perl module to create XML files easily!SYNOPSIS use XML::Writer::Simple dtd => "file.dtd"; print para("foo",b("bar"),"zbr");USAGEThis module takes some ideas from CGI to make easier the life for those who need to generated XML code. You can use the module in three flavours (or combine them):tagsWhen importing the module you can specify the tags you will be using: use XML::Writer::Simple tags => ; print p("Hey, ",b("you"),"! ", i("Yes ", b("you")));that will generate < p >Hey < b >you< /b >! < i >Yes < b >you< /b >< /i >< /p >dtdYou can supply a DTD, that will be analyzed, and the tags used: use XML::Writer::Simple dtd => "tmx.dtd"; print tu(seg("foo"),seg("bar"));xmlYou can supply an XML (or a reference to a list of XML files). They will be parsed, and the tags used: use XML::Writer::Simple xml => "foo.xml"; print foo("bar"); Requirements: · Perl


XML::Writer::Simple Related Software