XML::BareXML::Bare is a minimal XML parser implemented via a C state engine. | |
Download |
XML::Bare Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- David Helkowski
- Publisher web site:
- http://search.cpan.org/~codechild/XML-Bare-0.27/Bare.pm
XML::Bare Tags
XML::Bare Description
XML::Bare is a minimal XML parser implemented via a C state engine. XML::Bare is a minimal XML parser implemented via a C state engine.SYNOPSIS use XML::Bare; my $xml = new XML::Bare( text => 'Bob' ); # Parse the xml into a hash tree my $root = $xml->parse(); # Print the content of the name node print $root->{xml}->{name}->{value}; # Load xml from a file ( assume same contents as first example ) my $xml2 = new XML::Bare( file => 'test.xml' ); my $root2 = $xml2->parse(); $root2->{xml}->{name}->{value} = 'Tim'; # Save the changes back to the file $xml2->save(); Requirements: · Perl
XML::Bare Related Software