[XQZone General] invoking xdmp:invoke()

Howard Katz hkatz at maketechnologies.com
Thu Dec 15 11:47:16 PST 2005


Simple is good. That's clarified it for me. Thanks. And yes, it wasn't
clear from the docs what sort of module was being discussed.
Howard

> -----Original Message-----
> From: general-bounces at xqzone.marklogic.com [mailto:general-
> bounces at xqzone.marklogic.com] On Behalf Of McBeath, Darin W (ELS-AMS)
> Sent: Thursday, December 15, 2005 10:35 AM
> To: General XQZone Discussion
> Subject: RE: [XQZone General] invoking xdmp:invoke()
> 
> Here is a very 'simple' example.
> 
> I am using CQ so in the CQ window, I entered the following xquery
> expression:
> 
> xdmp:invoke("test2.xqy")
> 
> Then, in the root directory for my CQ server, I inserted the file
test2.xqy
> which contains the following:
> 
> <b>2</b>
> 
> Then, when I execute the xquery expression, I correctly get:
> 
> <b>2</b>
> 
> Of course, it can get more complicated when you want to pass in values
for
> external variables, specify a modules database, etc.  So, I'm not sure
if
> this overly simplistic example will be helpful.  One thing to keep in
mind
> (which is not clear from the documentation) is that you can only
invoke a
> main module (and not a library module).
> 
> Darin.
> 
> -----Original Message-----
> From: general-bounces at xqzone.marklogic.com
> [mailto:general-bounces at xqzone.marklogic.com] On Behalf Of Howard Katz
> Sent: Thursday, December 15, 2005 1:17 PM
> To: general at xqzone.marklogic.com
> Subject: [XQZone General] invoking xdmp:invoke()
> 
> Can someone construct or point me to a example of how to use
> xdmp:invoke(), showing both some invoking code and a simple module
> that's invoked? I'm trying to understand the concept and am unable to
> come up with anything that works.
> TIA,
> Howard
> 
> _______________________________________________
> General mailing list
> General at xqzone.marklogic.com
> http://xqzone.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> General at xqzone.marklogic.com
> http://xqzone.com/mailman/listinfo/general



More information about the General mailing list