The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catalyst::View::XML::Simple - XML view for your data

SYNOPSIS

  # lib/MyApp/View/XML.pm
  package MyApp::View::XML::Simple;
  use base qw( Catalyst::View::XML::Simple );
  1;

  sub hello : Local {
      my($self, $c) = @_;
      $c->stash->{message} = 'Hello World!';
      $c->forward('View::XML::Simple');
  }

DESCRIPTION

Catalyst::View::XML::Simple is a Catalyst View handler that returns stash data in XML format using XML::Simple.

AUTHOR

Lindolfo 'Lorn' Rodrigues <lorn at cpan.org>

LICENSE

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

Thanks

Thanks do Tatsuhiko Miyagawa for Catalyst::View::JSON :)