I once had a similar problem, and solved it by using an ordinary TT View which rendered the XML, and stashing the required resultset.
It worked fine for me, but my xml structure was very simple. It just contained lots of data. I don't know if this is an option for you. If your xml is very complex or dynamic, creating the templates can be a pain! Lukas On 11/26/2012 05:58 PM, Robert Rothenberg wrote: > I need to output a large XML file (actually, a KML file of points) from a > database. > > I can't find any documentation for Catalyst::View::XML::Generator, or even > decent documentation for XML::Generator, on how to do this. > > It would appear to expect me to put the entire structure in the stash, which > I don't want to do, as it could contain thousands of points. > > Ideally I would pass an iterator function and it would do the rest. > > > > > > > _______________________________________________ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://email@example.com/ > Dev site: http://dev.catalyst.perl.org/ _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://firstname.lastname@example.org/ Dev site: http://dev.catalyst.perl.org/