Re: Question regarding NodeIterator

2001-09-07 Thread Joseph_Kesselman
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

RE: Question regarding NodeIterator

2001-09-07 Thread Paul Brown
> 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

RE: Question regarding NodeIterator

2001-09-06 Thread Cory Isaacson \(Compuflex\)
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,

Question regarding NodeIterator

2001-09-06 Thread Brad O'Hearne
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