XML::GroveXML::Grove is a Perl module with Perl-style XML objects. | |
Download |
XML::Grove Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Ken MacLeod
- Publisher web site:
- http://search.cpan.org/~kmacleod/XML-Grove-0.46alpha/lib/XML/Grove/Subst.pm
XML::Grove Tags
XML::Grove Description
XML::Grove is a Perl module with Perl-style XML objects. XML::Grove is a Perl module with Perl-style XML objects.SYNOPSIS use XML::Grove; # Basic parsing and grove building use XML::Grove::Builder; use XML::Parser::PerlSAX; $grove_builder = XML::Grove::Builder->new; $parser = XML::Parser::PerlSAX->new ( Handler => $grove_builder ); $document = $parser->parse ( Source => { SystemId => 'filename' } ); # Creating new objects $document = XML::Grove::Document->new ( Contents => ); $element = XML::Grove::Element->new ( Name => 'tag', Attributes => { }, Contents => ); # Accessing XML objects $tag_name = $element->{Name}; $contents = $element->{Contents}; $parent = $element->{Parent}; $characters->{Data} = 'XML is fun!';XML::Grove is a tree-based object model for accessing the information set of parsed or stored XML, HTML, or SGML instances. XML::Grove objects are Perl hashes and arrays where you access the properties of the objects using normal Perl syntax: $text = $characters->{Data}; Requirements: · Perl
XML::Grove Related Software