ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved