Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.320.248 Times

XML::SAX::Machine 0.41

  Date Added: June 24, 2010  |  Visits: 1.297

XML::SAX::Machine

Report Broken Link
Printer Friendly Version


Product Homepage
Download (103 downloads)



XML::SAX::Machine is a Perl module that can manage a collection of SAX processors. SYNOPSIS ## Note: See XML::SAX::Pipeline and XML::SAX::Machines first, ## this is the gory, detailed interface. use My::SAX::Machines qw( Machine ); use My::SAX::Filter2; use My::SAX::Filter3; my $filter3 = My::SAX::Filter3->new; ## A simple pipeline. My::SAX::Filter1 will be autoloaded. my $m = Machine( # # Name => Class/object => handler(s) # [ Intake => "My::SAX::Filter1" => "B" ], [ B => My::SAX::Filter2->new() => "C" ], [ C => $filter3 => "D" ], [ D => *STDOUT ], ); ## A parser will be created unless My::SAX::Filter1 can parse_file $m->parse_file( "foo.revml" ); my $m = Machine( [ Intake => "My::SAX::Filter1" => qw( Tee ) ], [ Tee => "XML::Filter::SAXT" => qw( Foo Bar ) ], [ Foo => "My::SAX::Filter2" => qw( Out1 ) ], [ Out1 => $log ], [ Bar => "My::SAX::Filter3" => qw( Exhaust ) ], ); WARNING: This API is alpha!!! It will be changing. A generic SAX machine (an instance of XML::SAX::Machine) is a container of SAX processors (referred to as "parts") connected in arbitrary ways. Each parameter to Machine() (or XML::SAX::Machine-new()>) represents one top level part of the machine. Each part has a name, a processor, and one or more handlers (usually specified by name, as shown in the SYNOPSIS). Since SAX machines may be passed in as single top level parts, you can also create nested, complex machines ($filter3 in the SYNOPSIS could be a Pipeline, for example). A SAX machines can act as a normal SAX processors by connecting them to other SAX processors: my $w = My::Writer->new(); my $m = Machine( ...., { Handler => $w } ); my $g = My::Parser->new( Handler => $w );.

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Machine Manage Module New Perl Perl Module Programming Qw Sax Synopsis Xml Xmlsaxmachine
Users rating: 0/10

License: Freeware Size: 43.01 KB
USER REVIEWS
More Reviews or Write Review


XML::SAX::MACHINE RELATED
Development Tools  -  What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples 1.0
These are the code examples used in the "What's New for Object-Oriented Programming in MATLABdlT«" webinar, which described the new object oriented features in Release 2008a.To use the code, add the top folder to your path. See the test* M-files...
112.64 KB  
Libraries  -  Module::Versions 0.02
Module::Versions is a Perl module to handle versions of loaded modules with flexible result interface. SYNOPSIS use Module::Versions; # Simple Interface list Module::Versions; # prints formatted results to STDOUT Module::Versions->list; #...
21.5 KB  
Libraries  -  Perl6::Builtins 0.0.3
Perl6::Builtins is a Perl module that provides erl 5 versions of the new Perl 6 builtins. SYNOPSIS use Perl6::Builtins qw( system ); system $system_cmd or die "Could not $system_cmd: $!"; my $package = caller->{package}; my $file =...
4.1 KB  
Libraries  -  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 SYNOPSIS use XML::SAX::Writer; use XML::Generator::vCard::RDF; my $writer = XML::SAX::Writer->new(); my $driver =...
9.22 KB  
Libraries  -  XML::Namespace 0.02
XML::Namespace is a Perl module with simple support for XML Namespaces. SYNOPSIS Example 1: using XML::Namespace objects use XML::Namespace; my $xsd = XML::Namespace->new(http://www.w3.org/2001/XMLSchema#); # explicit access via the...
4.1 KB  
Libraries  -  XML::XMetaL 0.52
XML::XMetaL is a Perl module with dispatch class for XML::XMetaL development framework. The XML::XMetaL class is a dispatcher for XMetaL customization handlers. XML:XMetaL objects are singletons. There can be only one XML::XMetaL object...
24.58 KB  
Libraries  -  HTTP::WebTest::XMLParser 1.00
HTTP::WebTest::XMLParser is a Perl module to parse webscript in XML representation. SYNOPSIS use HTTP::WebTest::XMLParser; my ($tests, $opts) = HTTP::WebTest::XMLParser->parse($xmldata); use HTTP::WebTest; my $wt = new HTTP::WebTest;...
11.26 KB  
Libraries  -  Sman::Man::Convert 1.01
Sman::Man::Convert is a Perl module to convert manpages to XML for sman-update and sman. SYNOPSIS # this module is intended for internal use by sman-update my $smanconfig = new Sman::Config(); $smanconfig->ReadDefaultConfigFile(); my...
30.72 KB  
Libraries  -  XML::Compile::Schema::XmlReader 0.18
XML::Compile::Schema::XmlReader Perl module contains bricks to translate XML to HASH. SYNOPSIS my $schema = XML::Compile::Schema- >new(...); my $code = $schema- >compile(READER = > ...); The translator understands schemas, but does not...
122.88 KB  
Libraries  -  Pod::XML 0.96
Pod::XML is a Perl module to convert POD to XML. SYNOPSIS use Pod::XML; my $parser = Pod::XML->new(); $parser->parse_from_file("foo.pod"); This module uses Pod::Parser to parse POD and generates XML from the resulting parse stream. It uses...
7.17 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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