xml generator dom
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2394
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 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::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
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
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
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
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
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
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
XML::Generator::vCard::RDF 1.4
XML::Generator::vCard::RDF is a Perl module that can generate RDF/XML SAX2 events for vCard 3.0 more>>
XML::Generator::vCard::RDF is a Perl module that can generate RDF/XML SAX2 events for vCard 3.0
SYNOPSIS
use XML::SAX::Writer;
use XML::Generator::vCard::RDF;
my $writer = XML::SAX::Writer->new();
my $driver = XML::Generator::vCard::RDF->new(Handler=>$writer);
$driver->parse_files("test.vcf");
Generate RDF/XML SAX2 events for vCard 3.0
<<lessSYNOPSIS
use XML::SAX::Writer;
use XML::Generator::vCard::RDF;
my $writer = XML::SAX::Writer->new();
my $driver = XML::Generator::vCard::RDF->new(Handler=>$writer);
$driver->parse_files("test.vcf");
Generate RDF/XML SAX2 events for vCard 3.0
Download (0.009MB)
Added: 2006-12-21 License: Perl Artistic License Price:
1045 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
Championship Generator 3.2
Championship Generator produces a list of all the meetings which must occur between the participants of a championship. more>>
Championship Generator produces a list of all the meetings which must occur between the participants of a championship.
It can be used to produce the challenges between teams if competitions are not foreseen to directed elimination. Championship Generator project supports championships where it is necessary to consider the matches at home and away.
It can also try to avoid fights between the big teams in the first and last days. It also supports the case in which two teams have a mutual stadium, and therefore cannot simultaneously play at home or away.
<<lessIt can be used to produce the challenges between teams if competitions are not foreseen to directed elimination. Championship Generator project supports championships where it is necessary to consider the matches at home and away.
It can also try to avoid fights between the big teams in the first and last days. It also supports the case in which two teams have a mutual stadium, and therefore cannot simultaneously play at home or away.
Download (0.60MB)
Added: 2006-01-06 License: GPL (GNU General Public License) Price:
785 downloads
Password List Generator 1.0
Password List Generator is a good tool to create passwords list with makepasswd and save to file. more>>
Password List Generator is a good tool to create passwords list with makepasswd and save to file.
<<less Download (0.032MB)
Added: 2006-03-21 License: GPL (GNU General Public License) Price:
1477 downloads
Magic Password Generator 1.4
Magic Password Generator is an extension which magically makes custom passwords for each website. more>>
Magic Password Generator is an extension which magically makes custom passwords for each website.
Right click the toolbar, and click customize, to get the button to activate the extension!
<<lessRight click the toolbar, and click customize, to get the button to activate the extension!
Download (0.026MB)
Added: 2007-07-19 License: MPL (Mozilla Public License) Price:
853 downloads
Gnome Password Generator 1.5
Gnome Password Generator is a GUI based secure password generator. more>>
Gnome Password Generator is a GUI based secure password generator. The project allows the user to generate a specified number of random passwords of a specified length. The program requires Python version 2.4 or greater, PyGTK version 2.4 or greater, and Gnome-Python for Gnome 2.
<<less Download (0.022MB)
Added: 2007-08-13 License: GPL (GNU General Public License) Price:
812 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 dom 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