xml generator dom 0.99
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2479
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::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 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
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
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
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
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
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
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
Rails Gallery Generator 0.0a4
Rails-gallery provides a generator for file upload gallerys. more>>
Rails-gallery provides a generator for file upload gallerys.
Theres no user management included; the generator just provides the skel for your agile Web gallery.
Enhancements:
- Added model Gallery
- Added multiple-gallery support
- Index redirects to show-action
- Added columns-attribute to controller (default 4)
- Secured some admin actions with post-method-verify
- Smaller code-cleanups (of course)
<<lessTheres no user management included; the generator just provides the skel for your agile Web gallery.
Enhancements:
- Added model Gallery
- Added multiple-gallery support
- Index redirects to show-action
- Added columns-attribute to controller (default 4)
- Secured some admin actions with post-method-verify
- Smaller code-cleanups (of course)
Download (0.019MB)
Added: 2006-07-15 License: GPL (GNU General Public License) Price:
1198 downloads
Exemplar: An XML Parser Generator 0.1
Exemplar is free software designed to make it easier to work with XML. more>>
Exemplar is free software designed to make it easier to work with XML. Exemplar: An XML Parser Generator was started as a program to generate the smallest possible parser for a given vocabulary of XML. While it still retains the capability to do this, it is now a more general program intended to support conversion of specifications of XML vocabularies (DTDs, Schemas, etc) into useful code.
Main features:
- Input from DTD
- Output to Java (SAX versions 1.0 and 2.0)
- Output to XSLT
- Output to DTD
- Command line and Ant user interfaces
Benefits
Save Programmer Time
XML is supposed to be easy to parse, but its very easy to get wrong. Offload your programming efforts to Exemplar and you can spend more of your time working on the core functionality of your application.
Save Space
Working in a space constrained environment? Exemplar can create SAX-compatible parsers as small as 5kb. No more need to hand write XML parsers to make them fit your environment.
Free Software
Exemplar is distributed under a permissive, BSD-style license (OSI approved). This means that youll never have to worry about integrating Exemplar with your own work, whether its commercial or not.
<<lessMain features:
- Input from DTD
- Output to Java (SAX versions 1.0 and 2.0)
- Output to XSLT
- Output to DTD
- Command line and Ant user interfaces
Benefits
Save Programmer Time
XML is supposed to be easy to parse, but its very easy to get wrong. Offload your programming efforts to Exemplar and you can spend more of your time working on the core functionality of your application.
Save Space
Working in a space constrained environment? Exemplar can create SAX-compatible parsers as small as 5kb. No more need to hand write XML parsers to make them fit your environment.
Free Software
Exemplar is distributed under a permissive, BSD-style license (OSI approved). This means that youll never have to worry about integrating Exemplar with your own work, whether its commercial or not.
Download (0.16MB)
Added: 2007-01-10 License: BSD License Price:
1021 downloads
xmlrpcserver 0.99.2
xmlrpcserver provides a simple to use and complete XML-RPC server. more>>
xmlrpcserver provides a simple to use and complete XML-RPC server.
xmlrpcserver is a simple to use but fairly complete XML-RPC server module for Python, implemented on top of the standard module xmlrpclib.
This module may, for example, be used in CGIs, inside application servers or within an application, or even standalone as an HTTP server waiting for XML-RPC requests.
xmlrpcserver is completely written in Python and has no dependencies other than standard modules.
Enhancements:
- This version added system.listMethods() and system.methodHelp() introspection methods
- introduced a return value to execute()
- featured a small security improvement by not allowing methods starting with _ to be available in registered classes.
<<lessxmlrpcserver is a simple to use but fairly complete XML-RPC server module for Python, implemented on top of the standard module xmlrpclib.
This module may, for example, be used in CGIs, inside application servers or within an application, or even standalone as an HTTP server waiting for XML-RPC requests.
xmlrpcserver is completely written in Python and has no dependencies other than standard modules.
Enhancements:
- This version added system.listMethods() and system.methodHelp() introspection methods
- introduced a return value to execute()
- featured a small security improvement by not allowing methods starting with _ to be available in registered classes.
Download (0.021MB)
Added: 2007-04-06 License: LGPL (GNU Lesser General Public License) Price:
931 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
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 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