[Home] [By Thread] [By Date] [Recent Entries]

  • From: Robin Berjon <robin@k...>
  • To: xml-dev@l...
  • Date: Tue, 27 Feb 2001 01:05:51 +0100

Arnaud Sahuguet <sahuguet@g...> 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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member