Tree::Simple::SAX

Tree::Simple::SAX is a set of classes for using Tree::Simple with XML.
Download

Tree::Simple::SAX Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stevan Little
  • Publisher web site:
  • http://search.cpan.org/~stevan/

Tree::Simple::SAX Tags


Tree::Simple::SAX Description

Tree::Simple::SAX is a set of classes for using Tree::Simple with XML. 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


Tree::Simple::SAX Related Software