Hi Tim,

Can you elaborate a bit more on the use case?

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: [email protected] 
[mailto:[email protected]] Namens Tim Meagher
Verzonden: donderdag 15 september 2011 15:46
Aan: 'General MarkLogic Developer Discussion'
Onderwerp: [MarkLogic Dev General] How to effectively pass variables by 
reference to an xquery function?

Hi Folks,

I am calling a function that returns a value but I also want the function to
set a status as well.  I'm wondering what is the best way to pass by
reference?  I can return an xml structure that contains the return value and
a status, but I'm also wondering about just using xdmp:set() to set a global
variable in a function.

Thanks!

Tim Meagher


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to