7 Jun
2010
7 Jun
'10
12:33 a.m.
Stefano,
On an unrelated note how may I bind a Java class instance to an external variable in xqj?
The following method should serve your purpose: XQDynamicContext.bindObject(QName varName, Object value, XQItemType type) Note that the data type needs to be known to XQuery; otherwise, conversion will fail. Hope this helps, Christian ___________________________ 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