NAME

XML::ED::Bare - Minimal XML parser implemented via a C state engine

VERSION

0.45

SYNOPSIS

use XML::ED::Bare;

my $ob = new XML::ED::Bare( text => '<xml><name>Bob</name></xml>' );

Module Functions

  • $ob = new XML::ED::Bare( text => "[some xml]" )

    Create a new XML object, with the given text as the xml source.

  • $tree = $object->parse()

    Parse the xml of the object and return a tree reference

Functions Used Internally

  • check() checkone() readxbs() free_tree_c()

  • lineinfo() c_parse() c_parsefile() free_tree() xml2obj()

  • obj2xml() get_root() obj2html() xml2obj_simple()

LICENSE

Copyright (C) 2008 David Helkowski

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.  You may also can
redistribute it and/or modify it under the terms of the Perl
Artistic License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.