I've got following question concerning views: I want to provide an XML-View 
which provides "standard" XML-Files using XML::Simple in almost any case. Just 
in some cases I want to provide specialized XML-Files.

In other words: I want to use XML::Simple as default handler - which is 
overriden by a specialized XML Generator in some cases ...

Within my controller I do have something like this:
  'default'   => 'text/html',
  'stash_key' => 'rest',
  'map'       => {
    'text/html' => [ 'View', 'TT', ],
    'text/xml'  => [ 'View', 'XML', ],
    #    'text/xml'           => 'XML::Simple',

I cannot figure out how to set XML::Simple as default handler and override this 
for certain URLs within the same controller whilst for other URLs within the 
same controller the default XML-Handler is used ....

Is this possible at all?
How can I do this?

Thanks in advance
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to