OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] JITTs and DOM

[ Lists Home | Date Index | Thread Index ]

On Friday 11 October 2002 11:22 am, Karl Waclawek wrote:
> > > As I noted, the speedup is most likely because the cost of building
> > > a DOM is usually in object construction, rather than in parsing.
> >
> > Ahh, I see. Yes, I take it back, Patrick's observations *are* an
> > effective demonstration that building smaller DOMs takes substantially
> > less time than building larger DOMs from the same source document and
> > therefore that pre-processing to remove (or turn into text nodes) data
> > that you're not interested in is a good tactic.
> I am wondering why there is no API combining Push or Pull with DOM.
> Most DOM parsers have an underlying event parser anyway.

You could use a SAX filter if the DOM builder can take SAX as input.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS