Linux SoftwareProgrammingLibrariesXML::Handler::Trees 0.02

XML::Handler::Trees 0.02


XML::Handler::Trees is a PerlSAX handlers for building tree structures. SYNOPSIS use XML::Handler::Trees; use XML::Parser:
Developer:   Eric Bohlman
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   7K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


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 $p=XML::Parser::PerlSAX->new();
my $h=XML::Handler::EasyTree->new(Noempty=>1);
my $easytree=$p->parse(Handler=>$h,Source=>{SystemId=>'file.xml'});

my $p=XML::Parser::PerlSAX->new();
my $h=XML::Handler::TreeBuilder->new();
$h->store_pis(1);
my $tree=$p->parse(Handler=>$h,Source=>{SystemId=>'file.xml'});

XML::Handler::Trees provides three PerlSAX handler classes for building tree structures. XML::Handler::Tree builds the same type of tree as the "Tree" style in XML::Parser.

XML::Handler::EasyTree builds the same type of tree as the "EasyTree" style added to XML::Parser by XML::Parser::EasyTree. XML::Handler::TreeBuilder builds the same type of tree as Sean M. Burke's XML::TreeBuilder. These classes make it possible to construct these tree structures from sources other than XML::Parser.

All three handlers can be driven by either PerlSAX 1 or PerlSAX 2 drivers. In all cases, the end_document() method returns a reference to the constructed tree, which normally becomes the return value of the PerlSAX driver.

Requirements:
  • Perl
    tags xml handler  xml parser  parser perlsax  parse handler  source {systemid  {systemid file  file xml  handler trees  perlsax new  builds the  the same  same type  tree structures  

    Download XML::Handler::Trees 0.02


     http://mirrors.evolva.ro/CPAN/authors/id/E/EB/EBOHLMAN/XML-Handler-Trees-0.02.tar.gz


    Authors software

    XML::Parser::EasyTree 0.01 (by Eric Bohlman)
    XML::Parser::EasyTree is an easier tree style for XML::Parser.

    SYNOPSIS

    use XML::Parser;
    use XML::Parser::EasyTree;
    $XM

    XML::Handler::Trees 0.02 (by Eric Bohlman)
    XML::Handler::Trees is a PerlSAX handlers for building tree structures.

    SYNOPSIS

    use XML::Handler::Trees;
    use XML::Parser:

    XML::TiePYX 0.05 (by Eric Bohlman)
    XML::TiePYX is a Perl module to read or write XML data in PYX format via tied filehandle

    SYNOPSIS

    use XML::TiePYX;

    tie *

    XML::Records 0.12 (by Eric Bohlman)
    XML::Records is a Perl module for perlish record-oriented interface to XML.

    SYNOPSIS

    use XML::Records;
    my $p=XML::Records-


    Similar software

    XML::Handler::Trees 0.02 (by Eric Bohlman)
    XML::Handler::Trees is a PerlSAX handlers for building tree structures.

    SYNOPSIS

    use XML::Handler::Trees;
    use XML::Parser:

    XML::Grove::Builder 0.46 Alpha (by Ken MacLeod)
    XML::Grove::Builder is a PerlSAX handler for building an XML::Grove.

    SYNOPSIS

    use PerlSAXParser;
    use XML::Grove::Builder;

    Tree::Simple::SAX 0.01 (by Stevan Little)
    Tree::Simple::SAX is a set of classes for using Tree::Simple with XML.

    SYNOPSIS

    use Tree::Simple::SAX;
    use XML::SAX::Parse

    XML::Parser::PerlSAX 0.08 (by Ken MacLeod)
    XML::Parser::PerlSAX is a Perl SAX parser using XML::Parser.

    SYNOPSIS

    use XML::Parser::PerlSAX;

    $parser = XML::Parser::Per

    XML::XPath::Builder 1.13 (by Ken MacLeod)
    XML::XPath::Builder is a SAX handler for building an XPath tree.

    SYNOPSIS

    use AnySAXParser;
    use XML::XPath::Builder;

    $bu

    XML::Parser::EasyTree 0.01 (by Eric Bohlman)
    XML::Parser::EasyTree is an easier tree style for XML::Parser.

    SYNOPSIS

    use XML::Parser;
    use XML::Parser::EasyTree;
    $XM

    Data::DPath::Builder 0.00_01 (by Ken MacLeod)
    Data::DPath::Builder is a SAX handler for building an XPath tree.

    SYNOPSIS

    use AnySAXParser;
    use Data::DPath::Builder;

    $

    XML::Grove 0.46 Alpha (by Ken MacLeod)
    XML::Grove is a Perl module with Perl-style XML objects.

    SYNOPSIS

    use XML::Grove;

    # Basic parsing and grove building
    use

    XML::Filter::DOMFilter::LibXML 0.02 (by Petr Pajas)
    XML::Filter::DOMFilter::LibXML is a SAX Filter allowing DOM processing of selected subtrees.

    SYNOPSIS

    use XML::LibXML;
    use

    Konstrukt::Handler 0.5 Beta 6 (by Thomas Wittek)
    Konstrukt::Handler is a base class for handlers that control the processing of the requests.

    SYNOPSIS

    use Konstrukt::Ha


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags