Dear Travis,
in BaseX, we use an internal representation that differs from DOM. If DOM instances are requested, they will be created on-the-fly. This is why I generally recommend to avoid the getNode() method and rather use getItemAsString(), which is pretty slim, as it simply serializes the contents of an item:
Feel free to ask for more, Christian
On Tue, Mar 23, 2010 at 5:52 AM, Travis Webb tjwebb@vt.edu wrote:
I have a question regarding efficiency in the xqresultsequence in the XQJ API. I've found no documentation on how this object is actually represented. Does anyone know if it is faster to request the result as a string (getItemAsString(null)) or as a DOM node (getNode())? Any info is appreciated. Thanks. -tjw
___________________________
Christian Gruen Universitaet Konstanz Department of Computer & Information Science D-78457 Konstanz, Germany Tel: +49 (0)7531/88-4449, Fax: +49 (0)7531/88-3577 http://www.inf.uni-konstanz.de/~gruen