There is no such method. With XCC you invoke the main body of an XQuery module. Either you give the URI of a module that already exists in MarkLogic or you provide the text of an XQuery module in your request that is evaluated and then discarded.
Don't think of XQuery modules as libraries that you pick functions out of. Think of them as commands to run. There are library XQuery modules, of course, but they are an organizing technique to share code between XQuery main modules. You can send an ad-hoc XQuery with XCC that references library module functions if they are in scope, but it's better to practice to write a main module to do a job and invoke that. An XCC client is better off not knowing about server- resident library modules. On Mar 3, 2011, at 10:17 AM, ambika arumugam wrote: > Hi all, > What is the xcc API method to call the individual methods in the xquery file > via xdbc connection in java environment? > > Regards > Ambika > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general --- Ron Hitchens {mailto:[email protected]} Ronsoft Technologies +44 7879 358 212 (voice) http://www.ronsoft.com +1 707 924 3878 (fax) Bit Twiddling At Its Finest "No amount of belief establishes any fact." -Unknown _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
