# XML::Tiny | webally.co.za

# DESCRIPTION

XML::Tiny is a simple lightweight parser for a subset of XML

# SYNOPSIS

use XML::Tiny qw(parsefile);
open($xmlfile, 'something.xml);
my $document = parsefile($xmlfile);

This will leave $document looking something like this:

[
    {
        type   => 'e',
        attrib => { ... },
        name   => 'rootelementname',
        content => [
            ...
            more elements and text content
            ...
       ]
    }
]

See the rest at: [https://metacpan.org/pod/XML::Tiny]](https://metacpan.org/pod/XML::Tiny)