[MarkLogic Dev General] External Functions

Gary Vidal gvidal at alm.com
Tue Nov 6 09:40:35 PST 2007


In XQuery Specifications they allow for functions that are defined as
external.  I have read through the documentation but do not see how to
call them in MarkLogic.  Ideally I would like to develop a interface
type of functionality to allow another module to define the
implementation of the module and allow that called module to use that
function.  But I don't see how this can be implemented.

 

Ex. 

 

Module "urn:my-hello-world"

 

define function hello-world($name as xs:string) as xs:string external

 

??How would you call this module???

 

 

Gary Vidal

Sr. .Net Developer

Tel: 212-592-4946

gvidal at alm.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20071106/17b0afab/attachment.html


More information about the General mailing list