> Unless your xml schema is simplistic, I think an XPathReader is typically
> necessary ... no ?
You asked the following:
>>>In 2.0 what is the fastest way to iterate through an element set in a
>>>read-only forward-only XMLDocument ?
For read-only forward-only fastest reading an XmlReader is the tool.

Signature
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
John A Grandy - 21 Apr 2006 17:35 GMT
Right, but what if the element set you wish to iterate through is buried in
a complex XML hierarchy ...
>> Unless your xml schema is simplistic, I think an XPathReader is typically
>> necessary ... no ?
[quoted text clipped - 5 lines]
>
> For read-only forward-only fastest reading an XmlReader is the tool.
Martin Honnen - 21 Apr 2006 17:46 GMT
> Right, but what if the element set you wish to iterate through is buried in
> a complex XML hierarchy ...
Well Xml(Text)Reader pulls in node by node so it is capable with dealing
with a complex XML hierarchy, you simply need to make sure your code
using the reader finds what it is looking for.
I don't think we will get far by discussing further without knowing the
XML markup you have in mind so feel free to post a URL for instance. Of
course you can use XPath if you want to, it is not that my suggestion
was meant to rule XPath out.

Signature
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/