[
Lists Home |
Date Index |
Thread Index
]
> -----Original Message-----
> From: Dare Obasanjo [mailto:kpako@yahoo.com]
> Sent: Sunday, November 25, 2001 1:45 AM
> To: Sterin, Ilya; 'Jeff Lowery'; xml-dev@lists.xml.org
> Subject: Re: [xml-dev] Push and Pull?
>
>
> From where I sit they are very different. Batch parsing is
> loading an entire stream or string into the DOM in one step
> with a loadXML or similar method, then interacting with the
> XML from the DOM. Pull parsing is at the other end of the
> horizon where you iterate through every node in your document
> one-by-one (text, element, PI, comment, etc) and perform
> operations utilizing the ones you are interested in.
You are actually refering to even driven parsing, which is the push
model. The pull model loads the document in memory, so DOM parsers are
considered pull.
Ilya
>
> At least that's what I gathered from the descriptions I've seen. YMMV.
>
> --
> THINGS TO DO IF I BECOME AN EVIL OVERLORD #112
> I will not rely entirely upon "totally reliable" spells that
> can be neutralized by relatively inconspicuous talismans.
>
> ----- Original Message -----
> From: "Sterin, Ilya" <Isterin@ciber.com>
> To: "'Jeff Lowery'" <jlowery@scenicsoft.com>; <xml-dev@lists.xml.org>
> Sent: Friday, January 25, 2002 1:35 AM
> Subject: RE: [xml-dev] Push and Pull?
>
>
> > Jeff, quick question, how would batch parsing differ from pull, I
> > would think it's the same concept? Maybe I'm just not
> understanding
> > this correctly?
> >
> > Ilya
> >
> > > -----Original Message-----
> > > From: Jeff Lowery [mailto:jlowery@scenicsoft.com]
> > > Sent: Wednesday, January 16, 2002 1:45 PM
> > > To: 'Sterin, Ilya'; xml-dev@lists.xml.org
> > > Subject: RE: [xml-dev] Push and Pull?
> > >
> > >
> > > A third is what I would call (for want of a better name) "batch"
> > > parsing, such as where a parser writes directly to a DOM.
> I believe
> > > there's a method in the W3C DOM to load a document directly; at
> > > least I know that some implementation support that feature.
> > >
> > > > -----Original Message-----
> > > > From: Sterin, Ilya [mailto:Isterin@ciber.com]
> > > > Sent: Tuesday, January 15, 2002 11:39 PM
> > > > To: xml-dev@lists.xml.org
> > > > Subject: [xml-dev] Push and Pull?
> > > >
> > > >
> > > > Push and Pull being the most popular ways of parsing XML,
> > > can someone
> > > > please list some alternatives, if any. Most documentation
> > > says that
> > > > push and pull are two ways of parsing, though it never
> mentiones
> > > > if there are other ways as well.
> > > >
> > > > Thanks.
> > > >
> > > > Ilya
> > > >
> > > >
> -----------------------------------------------------------------
> > > > The xml-dev list is sponsored by XML.org
> <http://www.xml.org>, an
> > > > initiative of OASIS
> <http://www.oasis-open.org>
> > > >
> > > > The list archives are at http://lists.xml.org/archives/xml-dev/
> > > >
> > > > To subscribe or unsubscribe from this list use the subscription
> > > > manager: <http://lists.xml.org/ob/adm.pl>
> > > >
> > >
> >
> > -----------------------------------------------------------------
> > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> > initiative of OASIS <http://www.oasis-open.org>
> >
> > The list archives are at http://lists.xml.org/archives/xml-dev/
> >
> > To subscribe or unsubscribe from this list use the subscription
> > manager: <http://lists.xml.org/ob/adm.pl>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
|