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
|
|||||||||||||||||||
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:
tags
Download Tree::Simple::SAX 0.01
Authors software
|
|
|
|
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
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
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
