Main > Programming > Libraries >

XML::SAX::Machine 0.41

XML::SAX::Machine 0.41

Sponsored Links

XML::SAX::Machine 0.41 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.042 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 820
Date added: 2007-07-31
Publisher: Barrie Slaymaker

XML::SAX::Machine 0.41 description

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 );

XML::SAX::Machine 0.41 Screenshot

Advertisements

XML::SAX::Machine 0.41 Keywords

Bookmark XML::SAX::Machine 0.41

Hyperlink code:
Link for forum:

XML::SAX::Machine 0.41 Copyright

WareSeeker periodically updates pricing and software information of XML::SAX::Machine 0.41 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::SAX::Machine 0.41 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
XML::SAX2Perl is a Perl module to translate Perl SAX methods to Java/CORBA style methods. Free Download
PLJava is Perl module that will embed Perl into Java. Free Download
XML::DOM::Lite::XSLT is Perl module XSLT engine for XML::DOM::Lite. Free Download
Module::Starter::XSimple is a Perl module to create XS modules with Module::Starter. Free Download
App::Manager is a Perl module for installing, managing and uninstalling software packages. Free Download
XML::CompareML is a Perl module for managing multi-system and multi-item comparisons. Free Download
Module::Build::JSAN is a Perl module to build JavaScript modules for JSAN. Free Download
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. Free Download