XML::Genx::Simple 0.21 review
Download
|
|
XML::Genx::Simple is a slightly simpler wrapper class for genx.
SYNOPSIS
use XML::Genx::Simple;
my $w = XML::Genx::Simple->new;
eval {
# bar
$w->StartDocFile( *STDOUT );
$w->StartElementLiteral( 'root' );
$w->Element( foo => 'bar', id => 1 );
$w->EndElement;
$w->EndDocument;
};
die "Writing XML failed: $@" if $@;
This class provides some helper methods to make using XML::Genx simpler in the common case.
Requirements:
Perl
XML::Genx::Simple 0.21 keywords