Linux SoftwareProgrammingLibrariesTree::Simple::SAX 0.01

Tree::Simple::SAX 0.01


Tree::Simple::SAX is a set of classes for using Tree::Simple with XML. SYNOPSIS use Tree::Simple::SAX; use XML::SAX::Parse
Developer:   Stevan Little
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   3K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


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('Hello !');

# this will create a tree like this:
# { tag_type => 'xml' }
# { tag_type => 'string' }
# { content => 'Hello ', tag_type => 'CDATA' }
# { tag_type => 'world' }
# { content => '!', tag_type => 'CDATA' }

This is an early implementation of an XML::SAX handler which creates a Tree::Simple object hierarchy from the XML stream. It is currently in the proof-of-concept/experimental stages and I plan to add more features in the future.

If anyone else is interested in the development of this module, feel free to contact me (use the email in the AUTHOR section). I am always open to discussion, thoughts, criticism and especially patches.

Requirements:
  • Perl
    tags tree simple  tag type  xml sax  simple sax  type cdata  sax parserfactory  sax handler  

    Download Tree::Simple::SAX 0.01


     http://ftp.hostingromania.ro/Linux/mirrors/ftp.cpan.org/authors/id/S/ST/STEVAN/Tree-Simple-SAX-0.01.tar.gz


    Authors software

    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

    Class::Trait 0.21 (by Stevan Little)

    Class::Interfaces 0.04 (by Stevan Little)

    Class::Cloneable 0.03 (by Stevan Little)
    Class::Cloneable is a base class for Cloneable objects.

    SYNOPSIS

    package MyObject;
    our @ISA = ('Class::Cloneable');

    #

    Tree::Binary 0.07 (by Stevan Little)
    Tree::Binary is a Object Oriented Binary Tree for Perl.

    SYNOPSIS

    use Tree::Binary;

    # a tree representaion of the expre


    Similar software

    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::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::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

    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;

    $

    Bio::Tree::Tree 1.4 (by Jason Stajich)

    Bio::Tree::NodeNHX 1.4 (by Aaron Mackey)
    Bio::Tree::NodeNHX is a Simple Tree Node with support for NHX tags.

    SYNOPSIS

    use Bio::Tree::NodeNHX;
    my $nodeA = new B

    XML::Validator::Schema 1.08 (by Sam Tregar)
    XML::Validator::Schema is a Perl module to validate XML against a subset of W3C XML Schema.

    SYNOPSIS

    use XML::SAX::ParserFact

    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

    Tree::BPTree 1.07 (by Andrew Sterling Hanenkamp)
    Tree::BPTree is a Perl implementation of B+ trees.

    SYNOPSIS

    use Tree::BPTree;

    # These arguments are actually the defau

    SimpleDoc 0.7.1 (by Cezary Tomczak)
    SimpleDoc project is a simple Web-based document management system.

    The interface is simple and intuitive, there is a tree structu


    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