XML::Toolkit::Loader - A set of tools for Loading XML into Moose Objects
version 0.15
use XML::Toolkit::Loader; my $loader = XML::Toolkit::Loader->new( namespace => 'MyApp' ); $loader->parse_file( $file ); print join '', @{ $loader->render };
The render method is required. This is the class that renders the parsed events into a set of Moose Objects. XML::Toolkit::Loader::Filter documented elsewhere in this distribution is the default implementation.
The render method is required. This is the class that renders a set of Moose objects parsed by the Filter into XML again. XML::Toolkit::Generator documented elsewhere in this distribution is the default implementation.
The methods parse_uri, parse_file and parse_string are required. This defaults to a XML::SAX::ParserFactory parser.
Render the current root_object via the XML::Toolkit::Generator's render_object method
None reported.
No bugs have been reported.
Please report any bugs or feature requests to bug-xml-toolkit@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-xml-toolkit@rt.cpan.org
Chris Prather <chris@prather.org>
<chris@prather.org>
Copyright (c) 2008, Chris Prather <chris@prather.org>. Some rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install XML::Toolkit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Toolkit
CPAN shell
perl -MCPAN -e shell install XML::Toolkit
For more information on module installation, please visit the detailed CPAN module installation guide.