I have managed to setup an xml response through index.xml. How do I set the default view for only the particular controller to be the index.xml file instead of the index.html?
Thank you, Charis On Thursday, 13 December 2012 15:22:47 UTC, Niphlod wrote: > > Plenty of ways: > - you code a controller/function.xml template in the views folder > - you leverage the generic.xml view just ending your address in .xml > - you return the xml directly from the controller (return something > instead of return dict(something=something)) > > The point is mainly "what kind of xml should you return" ;-P > > Il giorno giovedì 13 dicembre 2012 15:36:45 UTC+1, Charis ha scritto: >> >> Hi all, >> >> I would like to ask how I can generate an XML response to the >> views instead of html (index.xml instead of index.html) >> >> Thank you, >> Charis >> > --

