xml generator 0.99
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2427
XML::Generator 0.99
XML::Generator is a Perl extension for generating XML. more>>
XML::Generator is a Perl extension for generating XML.
SYNOPSIS
use XML::Generator :pretty;
print foo(bar({ baz => 3 }, bam()),
bar([ qux => http://qux.com/ ],
"Hey there, world"));
# OR
use XML::Generator ();
my $X = XML::Generator->new(:pretty);
print $X->foo($X->bar({ baz => 3 }, $X->bam()),
$X->bar([ qux => http://qux.com/ ],
"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".
<<lessSYNOPSIS
use XML::Generator :pretty;
print foo(bar({ baz => 3 }, bam()),
bar([ qux => http://qux.com/ ],
"Hey there, world"));
# OR
use XML::Generator ();
my $X = XML::Generator->new(:pretty);
print $X->foo($X->bar({ baz => 3 }, $X->bam()),
$X->bar([ qux => http://qux.com/ ],
"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".
Download (0.021MB)
Added: 2006-09-13 License: Perl Artistic License Price:
1141 downloads
XML::Generator::DOM 0.99
XML::Generator::DOM is an XML::Generator subclass for producing DOM trees instead of strings. more>>
XML::Generator::DOM is an XML::Generator subclass for producing DOM trees instead of strings.
SYNOPSIS
use XML::Generator::DOM;
my $dg = XML::Generator::DOM->new();
my $doc = $dg->xml($dg->xmlcmnt("Test document."),
$dg->foo({baz => bam}, 42));
print $doc->toString;
yields:
< ?xml version="1.0" standalone="yes"? >
< !--Test document-- >
< foo baz="bam" >42< /foo >
XML::Generator::DOM subclasses XML::Generator in order to produce DOM trees instead of strings (see XML::Generator and XML::DOM). This module is still experimental and its semantics might change.
Essentially, tag methods return XML::DOM::DocumentFragment objects, constructed either from a DOM document passed into the constructor or a default document that XML::Generator::DOM will automatically construct.
Calling the xml() method will return this automatically constructed document and cause a fresh one to be constructed for future tag method calls. If you passed in your own document, you may not call the xml() method.
Below, we just note the remaining differences in semantics between XML::Generator methods and XML::Generator::DOM methods.
<<lessSYNOPSIS
use XML::Generator::DOM;
my $dg = XML::Generator::DOM->new();
my $doc = $dg->xml($dg->xmlcmnt("Test document."),
$dg->foo({baz => bam}, 42));
print $doc->toString;
yields:
< ?xml version="1.0" standalone="yes"? >
< !--Test document-- >
< foo baz="bam" >42< /foo >
XML::Generator::DOM subclasses XML::Generator in order to produce DOM trees instead of strings (see XML::Generator and XML::DOM). This module is still experimental and its semantics might change.
Essentially, tag methods return XML::DOM::DocumentFragment objects, constructed either from a DOM document passed into the constructor or a default document that XML::Generator::DOM will automatically construct.
Calling the xml() method will return this automatically constructed document and cause a fresh one to be constructed for future tag method calls. If you passed in your own document, you may not call the xml() method.
Below, we just note the remaining differences in semantics between XML::Generator methods and XML::Generator::DOM methods.
Download (0.021MB)
Added: 2006-07-14 License: GPL (GNU General Public License) Price:
1198 downloads
XML::Generator::Essex 0.01
XML::Generator::Essex is a Perl module that can generate XML with Essex. more>>
XML::Generator::Essex is a Perl module that can generate XML with Essex.
SYNOPSIS
package My::Generator;
use XML::Generator::Essex;
@ISA = qw( XML::Generator::Essex );
use strict;
sub main { # Called by XML::Generator::Essex->generate().
my $self = shift;
}
## And, to use:
my $g = MY::Generator->new( Handler => $h );
$g->generate( ... );
Provides Essex output primitives like put() and constructors for essex events.
Methods
put
Example Whats emitted
======= ==============
put; ## (whatevers in $_: event, characters, etc)
put "text<<less
SYNOPSIS
package My::Generator;
use XML::Generator::Essex;
@ISA = qw( XML::Generator::Essex );
use strict;
sub main { # Called by XML::Generator::Essex->generate().
my $self = shift;
}
## And, to use:
my $g = MY::Generator->new( Handler => $h );
$g->generate( ... );
Provides Essex output primitives like put() and constructors for essex events.
Methods
put
Example Whats emitted
======= ==============
put; ## (whatevers in $_: event, characters, etc)
put "text<<less
Download (0.042MB)
Added: 2007-07-13 License: Perl Artistic License Price:
833 downloads
QOF Generator 0.0.2
QOF Generator is a project that generates C object source code from HTML/PHP or Perl/XML. more>>
QOF Generator is a project that generates C object source code from HTML/PHP or Perl/XML.
Generating new objects for the Query Object Framework is repetitive, tedious, and time consuming.
Qof Generator automates this process in PHP to build a working test program linked against QOF.
Objects are created from an HTML form using a temporary MySQL cache and exported with Makefile, ./autogen.sh, ChangeLog, README, C source code, and doxygen mark-up comments in a tarball built by the PHP code.
<<lessGenerating new objects for the Query Object Framework is repetitive, tedious, and time consuming.
Qof Generator automates this process in PHP to build a working test program linked against QOF.
Objects are created from an HTML form using a temporary MySQL cache and exported with Makefile, ./autogen.sh, ChangeLog, README, C source code, and doxygen mark-up comments in a tarball built by the PHP code.
Download (0.017MB)
Added: 2007-02-16 License: GPL (GNU General Public License) Price:
983 downloads
SQL::Generator 0.02
SQL::Generator is a Perl module to generate SQL-statements with oo-perl. more>>
SQL::Generator is a Perl module to generate SQL-statements with oo-perl.
SYNOPSIS
use SQL::Generator;
With this module you can easily (and very flexible) generate/construct sql-statements. As a rookie, you are used to write a lot of sprintf`s every time i needed a statement (i.e.for DBI).
Later you start writing your own functions for every statement and every sql-dialect (RDBMS use to have their own dialect extending the general SQL standard). This SQL::Generator module is an approach to have a flexible abstraction above the statement generation, which makes it easy to implement in your perl code. Its main purpose is to directly use perl variables/objects with SQL-like code.
<<lessSYNOPSIS
use SQL::Generator;
With this module you can easily (and very flexible) generate/construct sql-statements. As a rookie, you are used to write a lot of sprintf`s every time i needed a statement (i.e.for DBI).
Later you start writing your own functions for every statement and every sql-dialect (RDBMS use to have their own dialect extending the general SQL standard). This SQL::Generator module is an approach to have a flexible abstraction above the statement generation, which makes it easy to implement in your perl code. Its main purpose is to directly use perl variables/objects with SQL-like code.
Download (0.013MB)
Added: 2007-04-05 License: Perl Artistic License Price:
932 downloads
XML::Generator::PerlData 0.89
XML::Generator::PerlData is a Perl extension for generating SAX2 events from nested Perl data structures. more>>
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.
<<lessSYNOPSIS
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.
Download (0.013MB)
Added: 2006-09-12 License: GPL (GNU General Public License) Price:
1137 downloads
NetMap Generator 0.1.2b
NetMap Generator is a project used to generate a graphical map of your connection with the Internet. more>>
NetMap Generator is a project used to generate a graphical map of your connection with the Internet.
It first uses traceroute to make a list of all routers and their interconnections, after which it generates a .dot file.
You need the Dotty program to view the graphical representation of you network.
<<lessIt first uses traceroute to make a list of all routers and their interconnections, after which it generates a .dot file.
You need the Dotty program to view the graphical representation of you network.
Download (0.33MB)
Added: 2007-02-22 License: GPL (GNU General Public License) Price:
983 downloads
XML::Generator::vCard 1.3
XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.0 more>>
XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.0
SYNOPSIS
use XML::SAX::Writer;
use XML::Generator::vCard;
my $writer = XML::SAX::Writer->new();
my $driver = XML::Generator::vCard->new(Handler=>$writer);
$driver->parse_files("test.vcf");
Generate SAX2 events for vCard 3.0.
This package supersedes XML::SAXDriver::vCard.
<<lessSYNOPSIS
use XML::SAX::Writer;
use XML::Generator::vCard;
my $writer = XML::SAX::Writer->new();
my $driver = XML::Generator::vCard->new(Handler=>$writer);
$driver->parse_files("test.vcf");
Generate SAX2 events for vCard 3.0.
This package supersedes XML::SAXDriver::vCard.
Download (0.007MB)
Added: 2006-12-21 License: Perl Artistic License Price:
1040 downloads
Firewall Generator 3.0
Firewall Generator is a CGI script that generates a firewall. more>>
Firewall Generator is a CGI script that generates a bash shell script that contains a list of commands for configuring a set of firewall rules.
It is the best solution to know something about system security.
<<lessIt is the best solution to know something about system security.
Download (0.002MB)
Added: 2006-07-13 License: GPL (GNU General Public License) Price:
1206 downloads
Book Layout Generator 0.2
Book Layout Generator is a tool that comes handy when printing long documents in a book fashion. more>>
Book Layout Generator is a tool that comes handy when printing long documents in a book fashion.
Book Layout Generator tool generates the correct page sequence to print long documents in a book fashion.
You just need to specify how many pages are there in your document and whether to print 2 or 4 pages on each papersheet side (the latter requires cutting the sheets). You can optionally divide the document into sub-volumes and pack them separately. This tool will produce the exact sequence to feed your print dialog with.
If you need to print a book from bottom to top (some books are read from right to left), you can also check the proper option for doing that.
<<lessBook Layout Generator tool generates the correct page sequence to print long documents in a book fashion.
You just need to specify how many pages are there in your document and whether to print 2 or 4 pages on each papersheet side (the latter requires cutting the sheets). You can optionally divide the document into sub-volumes and pack them separately. This tool will produce the exact sequence to feed your print dialog with.
If you need to print a book from bottom to top (some books are read from right to left), you can also check the proper option for doing that.
Download (0.037MB)
Added: 2006-08-18 License: Freeware Price:
1175 downloads
XML::Generator::RSS10::dc 0.01
XML::Generator::RSS10::dc adds support for the Dublin Core (dc) RSS 1.0 module. more>>
XML::Generator::RSS10::dc adds support for the Dublin Core (dc) RSS 1.0 module.
SYNOPSIS
use XML::Generator::RSS10;
my $rss = XML::Generator::RSS10->new( Handler => $sax_handler );
$rss->channel( title => Pants,
link => http://pants.example.com/,
description => A fascinating pants site,
content =>
{ items =>
[ { format => http://www.w3.org/1999/xhtml,
content => < b >Axis< /b > Love,
},
{ format => http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional,
about => http://example.com/content-elsewhere,
},
{ format => http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional,
encoding => http://www.w3.org/TR/REC-xml#dt-wellformed,
content => < i >italics< /i >,
},
],
},
);
<<lessSYNOPSIS
use XML::Generator::RSS10;
my $rss = XML::Generator::RSS10->new( Handler => $sax_handler );
$rss->channel( title => Pants,
link => http://pants.example.com/,
description => A fascinating pants site,
content =>
{ items =>
[ { format => http://www.w3.org/1999/xhtml,
content => < b >Axis< /b > Love,
},
{ format => http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional,
about => http://example.com/content-elsewhere,
},
{ format => http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional,
encoding => http://www.w3.org/TR/REC-xml#dt-wellformed,
content => < i >italics< /i >,
},
],
},
);
Download (0.019MB)
Added: 2007-08-17 License: Perl Artistic License Price:
798 downloads
XML::Atom 0.19
XML::Atom is an Atom feed and API implementation. more>>
XML::Atom is an Atom feed and API implementation.
SYNOPSIS
use XML::Atom;
Atom is a syndication, API, and archiving format for weblogs and other data. XML::Atom implements the feed format as well as a client for the API.
<<lessSYNOPSIS
use XML::Atom;
Atom is a syndication, API, and archiving format for weblogs and other data. XML::Atom implements the feed format as well as a client for the API.
Download (0.058MB)
Added: 2006-06-30 License: Perl Artistic License Price:
1211 downloads
Rockbox Cover Generator 0.1
Rockbox Cover Generator amaroK script is a modded version of RockBox Cover Creator by Adrian. more>>
Rockbox Cover Generator amaroK script is a modded version of RockBox Cover Creator by Adrian.
This version is meant for people who use the iRiver in plugged-in mode to listen to music and keep in sync with the mp3s on Harddisk.
!!IMPORTANT!!
You need to set a root folder for your music on your HD and on your RockBox player in amarok_cover.sh
Then there will be two cover.bmp created: one on HD, and one on RockBox.
Also, this Script is Umlauts and Unicode-safe.
Hope someone finds it as useful as it is for me.
<<lessThis version is meant for people who use the iRiver in plugged-in mode to listen to music and keep in sync with the mp3s on Harddisk.
!!IMPORTANT!!
You need to set a root folder for your music on your HD and on your RockBox player in amarok_cover.sh
Then there will be two cover.bmp created: one on HD, and one on RockBox.
Also, this Script is Umlauts and Unicode-safe.
Hope someone finds it as useful as it is for me.
Download (0.002MB)
Added: 2006-04-17 License: GPL (GNU General Public License) Price:
1289 downloads
midget 0.99
midget is a small SMB-share based backup script. more>>
midget is a small SMB-share based backup script intended for use in unattended environments where finding a person to create backups is next to impossible.
midget project is designed to allow the deployment of a file server with a built-in DVD-R drive at a clients site and subsequently perform completely automated backups.
The backup server is configured through a CSV file stored on one of the servers shares.
<<lessmidget project is designed to allow the deployment of a file server with a built-in DVD-R drive at a clients site and subsequently perform completely automated backups.
The backup server is configured through a CSV file stored on one of the servers shares.
Download (0.026MB)
Added: 2006-03-22 License: BSD License Price:
1312 downloads
Scramble Words Generator 1.0
Can you raed tihs? Did you konw that it is poissble to raed text eevn wehn the iennr letrets hvae been rraeargned? If youre albe to raed tihs now, t... more>> <<less
Download (0KB)
Added: 2009-04-06 License: Freeware Price: Free
244 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above xml generator 0.99 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed