Confirming that your fix works well, and a question

Saturday, 5 June 2010 · 2 messages · last reply 7 Jun 2010
SS
Stefano Santoro5 Jun 2010 07:48 #

Dear Lukas

CG
Christian Grün7 Jun 2010 00:33 #

Stefano,

Quoted text · Stefano Santoro · 2 lines
> 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


⚡Generated with XQuery