DOM NodeIterators are computed incrementally, so they do reference the
Document. Xalan's borrowing of that API generally behaves similarly. In
local operation, this can yield a significant performance improvement if
you don't actually use all the retrieved values.
It's been too long since I lo
> My question is whether this NodeIterator actually contains the DATA
> ONLY that XPath specifies, or whether the NodeIterator has a reference
> to the whole Document object, and simply has information required to
> traverse this Document.
The NodeIterator is an implementation of that interface
ailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 5:37 PM
To: [EMAIL PROTECTED]
Subject: Question regarding NodeIterator
In the Xalan samples, there is an example of how to use XPath to create a
NodeIterator object from a Document object. When the statement:
XPathAPI.selectNodeIterator(doc,
In the Xalan samples, there is an example of how to use XPath to create a
NodeIterator object from a Document object. When the statement:
XPathAPI.selectNodeIterator(doc, xpath);
is executed, a NodeIterator is returned. My question is whether this
NodeIterator actually contains the DATA ONLY t