You could pass a map as the value of any variable. You can't pass a single map 
for multiple variables, though. The reason for this is historical: xdmp:invoke 
predates the map API.

You could also pass an item of the new json-array type, or an XML structure.

-- Mike

On 10 Nov 2012, at 09:12 , Florent Georges <[email protected]> wrote:

>   Hi,
> 
>   I use xdmp:invoke() and would like to pass a sequence of more
> than one item as the value of an external gobal parameter.
> 
>   But because the parameters are passed as a sequence of QName,
> value, QName, value, ... each parameter must be exactly one item.
> Is there any way to use a map instead, as for xdmp:xslt-invoke()?
> 
>   Regards,
> 
> -- 
> Florent Georges
> http://fgeorges.org/
> http://h2oconsulting.be/
> 
> 
> _______________________________________________
> 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