Sax Handler
XML::Handler::HTMLWriter is a SAX Handler for writing HTML 4.0. SYNOPSIS use XML::Handler::HTMLWriter; use XML::SAX; my $writer = XML::Handler::HTMLWriter->new(...); my $parser = XML::SAX::ParserFactory->parser(Handler => $writer); ... This module is based on the rules for outputting...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (140): XML::Handler::HTMLWriter Download |
XML::XPath::Builder is a SAX handler for building an XPath tree. SYNOPSIS use AnySAXParser; use XML::XPath::Builder; $builder = XML::XPath::Builder->new(); $parser = AnySAXParser->new( Handler => $builder ); $root_node = $parser->parse( Source => [SOURCE] ); XML::XPath::Builder is a...
Platforms: *nix
License: Freeware | Size: 39.94 KB | Download (118): XML::XPath::Builder Download |
SAX is commonly used on large XML files because they don't fit nicely into core memory necessary for the friendlier DOM API. When dealing with -really- large XML files, multiple passes over the file becomes costly. The SAX handler in this script allows you to handle an XML file multiple ways in...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (49): Multiple handlers for xml.sax parser Download |
Data::DPath::Builder is a SAX handler for building an XPath tree. SYNOPSIS use AnySAXParser; use Data::DPath::Builder; $builder = Data::DPath::Builder->new(); $parser = AnySAXParser->new( Handler => $builder ); $root_node = $parser->parse( Source => [SOURCE] ); Data::DPath::Builder is...
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (97): Data::DPath::Builder Download |
Tree::Simple::SAX is a set of classes for using Tree::Simple with XML. SYNOPSIS use Tree::Simple::SAX; use XML::SAX::ParserFactory; my $handler = Tree::Simple::SAX::Handler->new(Tree::Simple->new()); my $p = XML::SAX::ParserFactory->parser(Handler => $handler); $p->parse_string(...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (94): Tree::Simple::SAX Download |
SAX parser can report contiguous text using multiple characters events. This is often unexpected and can cause obscure bugs or require complicated adjustments to SAX handlers. By inserting text_normalize_filter into the SAX handler chain all downstream parsers are ensured that all text nodes in...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): A SAX filter for normalizing text events Download |
XML::DocStats is a Perl module to produce a simple analysis of an XML document. SYNOPSIS Analyze the xml document on STDIN, the STDOUT output format is html: use XML::DocStats; my $parse = XML::DocStats->new; $parse->analyze; Analyze in-memory xml document: use XML::DocStats; my...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (88): XML::DocStats Download |
XML::Records is a Perl module for perlish record-oriented interface to XML. SYNOPSIS use XML::Records; my $p=XML::Records->new(data.lst); $p->set_records(credit,debit); my ($t,$r) while ( (($t,$r)=$p->get_record()) && $t) { my $amt=$r->{Amount}; if ($t eq debit) { ... } }...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (98): XML::Records Download |
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 XML::Handler::Writer. The reasons for this one are...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (168): XML::Handler::YAWriter Download |
XML::SAX::Base is a base Perl class with SAX Drivers and Filters. SYNOPSIS package MyFilter; use XML::SAX::Base; @ISA = (XML::SAX::Base); This module has a very simple task - to be a base class for PerlSAX drivers and filters. Its default behaviour is to pass the input directly to the...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (100): XML::SAX::Base Download |
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...
Platforms: *nix
License: Freeware | Size: 43.01 KB | Download (103): XML::SAX::Machine Download |
Pod::SAX is a SAX parser for Pod. SYNOPSIS my $h = XML::SAX::Writer->new(); my $p = Pod::SAX->new( Handler => $h ); $p->parse_uri(perlpodspec.pod); Very simply, this module parses POD (or perl) files and turns the Plain Old Documentation into SAX events (which often youll use to turn into...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (88): Pod::SAX Download |
iCal::Parser::SAX is a Perl module to generate SAX events from an iCalendar. SYNOPSIS use iCal::Parser::SAX; my $parser=iCal::Parser::SAX->new(Handler=>SAXHandler,%args); $parser->parse_uri($file); $parser->parse_uris(@files); This module uses iCal::Parser to generates SAX events for the...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (93): iCal::Parser::SAX Download |
XML::SAX::Writer is a Perl module with SAX2 Writer. SYNOPSIS use XML::SAX::Writer; use XML::SAX::SomeDriver; my $w = XML::SAX::Writer->new; my $d = XML::SAX::SomeDriver->new(Handler => $w); $d->parse(some options...); Why yet another XML Writer ? A new XML Writer was needed to match...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (105): XML::SAX::Writer Download |
XML::SAX::ByRecord can record oriented processing of (data) documents. SYNOPSIS use XML::SAX::Machines qw( ByRecord ) ; my $m = ByRecord( "My::RecordFilter1", "My::RecordFilter2", ... { Handler => $h, ## optional } ); $m->parse_uri( "foo.xml" ); XML::SAX::ByRecord is a SAX...
Platforms: *nix
License: Freeware | Size: 43.01 KB | Download (89): XML::SAX::ByRecord Download |
XML::Filter::Tee can send SAX events to multiple processor, with switching. SYNOPSIS my $t = XML::Filter::Tee->new( { Handler => $h0 }, { Handler => $h1 }, { Handler => $h2 }, ... ); ## Altering the handlers list: $t->set_handlers( $h0, $h1, $h2, $h3 ); ## Controlling flow to a...
Platforms: *nix
License: Freeware | Size: 43.01 KB | Download (106): XML::Filter::Tee Download |
XML::Handler::Trees is a PerlSAX handlers for building tree structures. SYNOPSIS use XML::Handler::Trees; use XML::Parser::PerlSAX; my $p=XML::Parser::PerlSAX->new(); my $h=XML::Handler::Tree->new(); my $tree=$p->parse(Handler=>$h,Source=>{SystemId=>file.xml}); my...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (100): XML::Handler::Trees Download |
Sensible IRC Handler aims to provide an interface for Gaim that handles irc:// links in Firefox Browser. This will provide the same xchat-gnome functionality to handle irc:// links, but for Gaim. Recent changes in inclusion of packages for future Ubuntu release will not include xchat-gnome...
Platforms: *nix
License: Freeware | Size: 204.8 KB | Download (105): Sensibe IRC Handler Download |
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 methods to Java/CORBA style method calls. This...
Platforms: *nix
License: Freeware | Size: 64.51 KB | Download (93): XML::SAX2Perl Download |
XML::SAX::Intro is an Introduction to SAX Parsing with Perl. XML::SAX is a new way to work with XML Parsers in Perl. In this article well discuss why you should be using SAX, why you should be using XML::SAX, and well see some of the finer implementation details. The text below assumes some...
Platforms: *nix
License: Freeware | Size: 58.37 KB | Download (101): XML::SAX::Intro Download |