[Catalyst] Generating a large XML document (KML file) from a database

Francisco Obispo fobispo at isc.org
Mon Nov 26 17:30:54 GMT 2012


XML::Writer



Sent from my iPhone

On Nov 26, 2012, at 9:23 AM, Francisco Obispo <fobispo at isc.org> wrote:

> Use the ->write() methos in catalyst and  XML::Witer
> 
> Sent from my iPhone
> 
> On Nov 26, 2012, at 8:58 AM, Robert Rothenberg <robrwo at gmail.com> 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 at 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/
> 
> _______________________________________________
> List: Catalyst at 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/



More information about the Catalyst mailing list