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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reinventing the wheel (an implementor point of view)



Arnaud Sahuguet <sahuguet@gradient.cis.upenn.edu> wrote:
>
> The DOM API should be extended to look more a like 
> an XPath API, to make calls more efficient.  Also 
> supporting an iterator model would be great.

Unless we mean different things by iterator, DOM2 (section Traversal)
includes a NodeIterator interface. It is probably possible to optimize a
DOM implementation to have a fast get_elements_by_tagname, or at least to
quickly be able to turn a tree into a list, which is what you want for
speedy XPath.

-- robin b.
"Windows may be pretty. And easy. But it has no depth or soul. It's like
the one-night stand of operating systems. You feel cheap after using it."
-- Steph, in User Friendly