Re: XML Iterators
by Adam Turoff other posts by this author
Jan 15 2002 12:17PM messages near this date
view in the new Beta List Site
RE: XML Iterators
|
Big XML files (thanks)
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()) {
}
(unless that's supposed to be while($xmlp-> parse_chunk()), and multiple
calls to a parse() are used to implement the iteration....)
Z.
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml
Thread:
Matt Sergeant
Adam Turoff
|