The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Catalyst::View::XML::Generator - Serialize the stash as XML using XML::Generator::PerlData

VERSION

Version 0.02

SYNOPSIS

__PACKAGE__->config(
    'XML::Generator' => {
        rootname => 'document',
        attrmap => {
            action => [qw( class name )],
            view   => [qw( type )]
        }
    }
);

DESCRIPTION

This Catalyst view renders the context stash as XML using XML::Generator::PerlData. This enables you to quickly render customized XML output using a set of rules to dictate which hash parameters will be stored as attributes, elements, and other configuration options.

AUTHOR

Michael Nachbaur, <mike@nachbaur.com>

BUGS

Please report any bugs or feature requests to bug-catalyst-view-xml-generator at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-View-XML-Generator. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

Catalyst, Catalyst::View, XML::Generator::PerlData

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Catalyst::View::XML::Generator

You can also look for information at:

COPYRIGHT & LICENSE

Copyright (c) 2009 Michael Nachbaur

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.