Main > Programming > Libraries >

XML::Generator::PerlData 0.89

XML::Generator::PerlData 0.89

Sponsored Links

XML::Generator::PerlData 0.89 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.013 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1137
Date added: 2006-09-12
Publisher: Kip Hampton

XML::Generator::PerlData 0.89 description

XML::Generator::PerlData is a Perl extension for generating SAX2 events from nested Perl data structures.

SYNOPSIS

use XML::Generator::PerlData;
use SomeSAX2HandlerOrFilter;

## Simple style ##

# get a deeply nested Perl data structure...
my $hash_ref = $obj->getScaryNestedDataStructure();

# create an instance of a handler class to forward events to...
my $handler = SomeSAX2HandlerOrFilter->new();

# create an instance of the PerlData driver...
my $driver = XML::Generator::PerlData->new( Handler => $handler );

# generate XML from the data structure...
$driver->parse( $hash_ref );

## Or, Stream style ##

use XML::Generator::PerlData;
use SomeSAX2HandlerOrFilter;

# create an instance of a handler class to forward events to...
my $handler = SomeSAX2HandlerOrFilter->new();

# create an instance of the PerlData driver...
my $driver = XML::Generator::PerlData->new( Handler => $handler );

# start the event stream...
$driver->parse_start();

# pass the data through in chunks
# (from a database handle here)
while ( my $array_ref = $dbd_sth->fetchrow_arrayref ) {
$driver->parse_chunk( $array_ref );
}

# end the event stream...
$driver->parse_end();
and youre done...

XML::Generator::PerlData provides a simple way to generate SAX2 events from nested Perl data structures, while providing finer-grained control over the resulting document streams.
Processing comes in two flavors: Simple Style and Stream Style:

In a nutshell, simple style is best used for those cases where you have a a single Perl data structure that you want to convert to XML as quickly and painlessly as possible. Stream style is more useful for cases where you are receiving chunks of data (like from a DBI handle) and you want to process those chunks as they appear. See PROCESSING METHODS for more info about how each style works.

XML::Generator::PerlData 0.89 Screenshot

Advertisements

XML::Generator::PerlData 0.89 Keywords

Bookmark XML::Generator::PerlData 0.89

Hyperlink code:
Link for forum:

XML::Generator::PerlData 0.89 Copyright

WareSeeker periodically updates pricing and software information of XML::Generator::PerlData 0.89 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::Generator::PerlData 0.89 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
XML::Generator is a Perl extension for generating XML. Free Download
XML::Generator::DOM is an XML::Generator subclass for producing DOM trees instead of strings. Free Download
XML::Generator::RSS10::dc adds support for the Dublin Core (dc) RSS 1.0 module. Free Download
XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.0 Free Download
XML::Generator::vCard::RDF is a Perl module that can generate RDF/XML SAX2 events for vCard 3.0 Free Download
SOAP::Data is a Perl class that provides the means by which to explicitly manipulate and control all aspects of the way. Free Download
Clone::More is a Perl module that can copy Perl data structures. Free Download
Graph is a Perl module with graph data structures and algorithms. Free Download