NAME

Template::Flute::Specification::XML - XML Specification Parser

SYNOPSIS

$xml = new Template::Flute::Specification::XML;

$spec = $xml->parse_file($specification_file);
$spec = $xml->parse($specification_text);

CONSTRUCTOR

new

Create a Template::Flute::Specification::XML object.

METHODS

parse [ STRING | SCALARREF ]

Parses text from STRING or SCALARREF and returns Template::Flute::Specification object in case of success.

parse_file STRING

Parses file and returns Template::Flute::Specification object in case of success.

error

Returns last error.

AUTHOR

Stefan Hornburg (Racke), <racke@linuxia.de>

LICENSE AND COPYRIGHT

Copyright 2010-2021 Stefan Hornburg (Racke) <racke@linuxia.de>.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.