Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Using XPath and XQuery. [Thread Next] Re: Using XPath and XQuery.To: NULL Date: 5/3/2005 2:15:00 PM Sami wrote: > Does one need to read the whole XML Document into a DOM object to be able to > use XPath and/or XQuery to retrieve information from the document. I don't know about XQuery implementations but XPath usually operates on a tree model built for the complete XML document. > Is there any other way to retrieve information quickly and efficiently from > an extremely large XML Document without having to store it first in a DOM > object? There is the SAX API that many XML parsers offer, for instance with MSXML you can use SAX from VB or C++. .NET favours a different approach to SAX, namely pull parsing in the form of the Xml(Text)Reader implementation. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
