I’m struggling with this simple scenario…

How do I pass a variable to the limit and skip options in cts:uris ?

I’ve tried all sorts of ways to pass in $skip, but always receive the Invalid 
option error.


let $skip := 10
return cts:uris("", ("limit=10", "skip=($skip)"), 
cts:collection-query(“sample-docs”))


this is getting…

[1.0-ml] XDMP-OPTION: cts:uris("", ("limit=10", "skip=($skip)"), 
cts:collection-query("sample-docs")) -- Invalid option "skip=($skip)"



Thanks!
-Matt Moody

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

Reply via email to