PXR::Parser 0.1.5 |
Date Added: August 23, 2010 | Visits: 1.023 |
|
||||||||
PXR::Parser is a Pure Perl SAX XML Push Parser. SYNOPSIS use PXR::Parser; my $parser = PXR::Parser->new( Handlers => { startDocument => &start_doc, endDocument => &end_doc, startElement => &start_element, endElement => &end_element, characters => &characters, } ); $parser->parse($data); $parser->setHandlers(startDocument => &different_start); A simple, fast, efficient pure perl sax xml parser. BUGS AND NOTES This Parser was blatantly ripped and modified from XML::Stream::Parser because it was the only pure perl parser simple and speedy enough to be included by default in various other things such as PXR or PoCo::Jabber. Just note that there is no recovering or detecting XML malformedness. So if you feed this little pet something non-tasty, you are in for a surprise (mainly memory leaking everywhere, and other things like gnawing on furniture). That is the trade off for its speed. In situtations where you know you are not going to get malformed XML such as a connection to a jabber server (or other XML pushing entities) then this parser is ideal. Currently, the speed difference between this parser and XML::Parser::Expat are about 30 percent in favor of XML::Parser::Expat (which says alot of the speed of this pure perl implementation). Thanks to Ryan Eatmon for writing and releasing this code. It has been a boon to those of us that really appreciate a simple small solution..
|
License: Freeware | Size: 16.38 KB |
Libraries
-
XML::Parser::PerlSAX 0.08
XML::Parser::PerlSAX is a Perl SAX parser using XML::Parser. SYNOPSIS use XML::Parser::PerlSAX; $parser = XML::Parser::PerlSAX->new( [OPTIONS] ); $result = $parser->parse( [OPTIONS] ); $result = $parser->parse($string);... |
64.51 KB | |
Libraries
-
XML::Handler::YAWriter 0.23
XML::Handler::YAWriter is a yet another Perl SAX XML Writer. SYNOPSIS use XML::Handler::YAWriter; my $ya = new XML::Handler::YAWriter( %options ); my $perlsax = new XML::Parser::PerlSAX( Handler => $ya ); YAWriter implements Yet Another... |
25.6 KB | |
Libraries
-
XML::SAX2Perl 0.08
XML::SAX2Perl is a Perl module to translate Perl SAX methods to Java/CORBA style methods. SYNOPSIS use XML::Perl2SAX; $perl2sax = XML::Perl2SAX(handler => $java_style_handler); XML::Perl2SAX is a SAX filter that translates Perl style SAX... |
64.51 KB | |
Libraries
-
XML::Grove 0.46 Alpha
XML::Grove is a Perl module with Perl-style XML objects. SYNOPSIS use XML::Grove; # Basic parsing and grove building use XML::Grove::Builder; use XML::Parser::PerlSAX; $grove_builder = XML::Grove::Builder->new; $parser =... |
27.65 KB | |
Games
-
DnD - The Next Generator 1.0
This project want to create a Perl and XML based DnD Character Generator |
2.42 KB | |
Programming
-
Extensible GNU Awk, with XML, PostgreSQL 1.0
An extension of GAWK, the GNU implementation of the AWK Programming Language, for processing XML data. XMLgawk is just one of the extensions that come with the xgawk distribution. The others are the PostgreSQL and the MPFR extension. |
3.08 MB | |
Communication Tools
-
xmlboard 2.0
XMLBoard is a news/message board script written in Perl and XML. |
39.17 KB | |
Programming
-
devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW. |
444.26 KB | |
Libraries
-
XML::Parser 2.34
XML::Parser is a perl module for parsing XML documents. SYNOPSIS use XML::Parser; $p1 = new XML::Parser(Style => Debug); $p1->parsefile(REC-xml-19980210.xml); $p1->parse( Hello World ); # Alternative $p2 = new XML::Parser(Handlers... |
225.28 KB | |
Libraries
-
XML::Generator::vCard 1.3
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);... |
7.17 KB |
Programming
-
Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations. |
471.04 KB | |
Programming
-
Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions. |
30.72 KB | |
Programming
-
Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned... |
30.72 KB | |
Programming
-
logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant... |
174.08 KB | |
Programming
-
OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a... |
3.83 MB | |
Libraries
-
wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating... |
3.88 MB | |
Libraries
-
EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented... |
10.68 MB | |
Libraries
-
Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable. |
5.35 KB | |
Libraries
-
Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;... |
8.19 KB | |
Libraries
-
sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also... |
10.24 KB |