XML::MyXML 0.03 review

Download
by rbytes.net on

XML::MyXML is a simple XML module. SYNOPSIS use XML::MyXML qw(tidy_xml xml_to_object); my $xml = "< item >< name >Ta

License: Perl Artistic License
File size: 4K
Developer: Alexander Karelas
0 stars award from rbytes.net

XML::MyXML is a simple XML module.

SYNOPSIS

use XML::MyXML qw(tidy_xml xml_to_object);

my $xml = "< item >< name >Table< /name >< price >< usd >10.00< /usd >< eur >8.50< /eur >< /price >< /item >";
print tidy_xml($xml);

my $obj = xml_to_object($xml);
print "Price in Euros = " . $obj->path('price/eur')->value;

EXPORT

tidy_xml, object_to_xml, xml_to_object, simple_to_xml

FUNCTIONS

tidy_xml($rawxml)

Returns the XML string in a tidy format (with tabs & newlines)

xml_to_object($rawxml)

Creates an 'XML::MyXML::Object' object from the raw XML provided

Requirements:
Perl

XML::MyXML 0.03 keywords