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::Hash::LX - Serialize the stash as XML using XML::Hash::LX

VERSION

Version 0.04

SYNOPSIS

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

DESCRIPTION

This Catalyst view renders the context stash as XML using XML::Hash::LX. 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.

METHODS

process

See Catalyst::View::process

AUTHOR

Andrii Kostenko, <andrey@kostenko.name>

ACKNOWLEDGEMENTS

This module based on Catalyst::View::XML::Generator

BUGS

Please report any bugs or feature requests to bug-catalyst-view-xml-hash-lx at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-View-XML-Hash-LX. 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::Hash::LX

SUPPORT

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

perldoc Catalyst::View::XML::Hash::LX

You can also look for information at:

COPYRIGHT & LICENSE

Copyright (c) 2011 Andrii Kostenko

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