[XQZone General] How to pass Node as a parameter through XDBC?

Jason Hunter jhunter at marklogic.com
Thu Aug 11 10:08:11 PDT 2005


Juvvadi, Venugopal (ELS) wrote:

> I am assuming that I can specify node as an external parameter in XQuery 
> but I am not sure whether Mark Logic supports this or not.
> 
> Mark Logic XDBC Statement interface does not provide any method to pass 
> Node as a parameter to XQuery unless I am missing something. Is there a 
> work around for this?

At present, you can't specify a node as an external parameter.  To get 
the same effect you can insert the node as a document using the XDBC 
con.openDocInsertStream() method, then access the node in the next query.

-jh-




More information about the General mailing list