Re: Pull-style event interface
by Ken MacLeod other posts by this author
Jan 25 2001 11:09AM messages near this date
view in the new Beta List Site
Re: XML::Parser::PerlSAX -- characters() callback?
|
RE: Help with XPath errors with ancestor nodes!
Robert Braddock <stormwarden@[...].com> writes:
> > PatAct modules[1] implement almost exactly the same technique, but
> > using push.
>
> Hmm, I must be misunderstanding something, as PatAct looks to keep
> the SAX start/end event handlers disjoint, which is only almost
> exactly the same in that it is only different in exactly the
> distinction I'm making.
Ah, my apologies, I meant in the way that "actions" in the
pattern/action lists get evaluated. Since Action modules are
themselves SAX handlers (push), any actions in the pattern/action list
must rely on push behavior as well.
If an Action module were written to use a pull parser, then actions
would be evaluated in a pull environment.
> > Paul Prescod also describes a very similar system for
> > Python[2] where it mixes both pull and push.
> > [2] <http://www.python.org/pipermail/xml-sig/2000-March/003655.html>
>
> What I saw about this sounded interestingly similar to what I'm
> doing, but that specific page isn't there--is there any other link
> you have?
Odd that those would get rearchived,
<http://mail.python.org/pipermail/xml-sig/2000-March/002003.html>
-- Ken
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml
|