RE: XML Iterators
by Matt Sergeant other posts by this author
Jan 15 2002 12:20PM messages near this date
view in the new Beta List Site
Re: [ANNOUNCE] XML::SAX::2Simple
|
RE: Big XML files (thanks)
> -----Original Message-----
> From: Adam Turoff [mailto:ziggy@[...].com]
>
> On Tue, Jan 15, 2002 at 09:08:44AM -0000, Matt Sergeant wrote:
> > I think it would be good to discuss this on xml-dev (which
> I'm unsubscribed
> > from at the moment due to the noise level there), so that
> we can standardise
> > it for SAX for all languages. I'd certainly welcome a
> pause/resume system
> > (you wouldn't need next() if you had resume, I don't think).
>
> I had thought about pause/resume, except that this idiom doesn't seem
> to look right:
>
> my $xmlp = new SAXIterator;
>
> ...
>
> while ($xmlp->resume()) {
> }
The resume() was meant to be a low level operation used to implement a pull
parser, not as the high level API.
Matt.
This e-mail has been scanned for all viruses by Star Internet. The service is powered by Mes
sageLabs. For more information on a proactive anti-virus service working around the clock, a
round the globe, visit: http://www.star.net.uk
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml
|