Hi,
I am not sure about the details of what you need to achieve, but it
sounds like you want either Server or Session Fields:
https://docs.marklogic.com/xdmp:set-server-field
https://docs.marklogic.com/xdmp:set-session-field
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
On 1 September 2015 at 09:52, sweet frd wrote:
> Hi All,
>
> I need to set/get/maintain a variable value across different xquery
> call. I am declaring a variable in one module xquery file and importing the
> same in other xquery and set the variable value.
>
> In case of multiple calls to the xquery, will the value of the variable ll
> get assigned depend on the particular call or like java static the value
> will get changed based on the next call.
>
> Is the xquery variable is static or normal variable depends on the xquery
> call.??
>
> Thanks,
> N. Sumathi.
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
> --
> <http://developer.marklogic.com/mailman/listinfo/general>
> Florent Georges
> <http://developer.marklogic.com/mailman/listinfo/general>
> http://fgeorges.org/
> http://h2oconsulting.be/
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general