> 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 in
org.w3c.dom.traversal.  You may notice that it doesn't extend
java.lang.Serializable... :)  So, if you want to move the results of the
query "across the wire", you should serialize the individual nodes (using,
e.g., org.apache.xalan.serialize.SerializerToXML).

It sounds like what you really want is an XML database with an RMI
front-end...

        -- Paul

Reply via email to