From afbf627752a79e7de5f7495b2ab8b9585173341d Mon Sep 17 00:00:00 2001 From: David McKee Date: Fri, 13 Dec 2024 18:04:46 +0000 Subject: [PATCH] Now does the thing --- corb2/get-uris.xqy | 4 +++- corb2/show.xqy | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/corb2/get-uris.xqy b/corb2/get-uris.xqy index 08e1ca2..df6c30d 100644 --- a/corb2/get-uris.xqy +++ b/corb2/get-uris.xqy @@ -1,2 +1,4 @@ -let $uris := cts:uris("",(),cts:true-query()) +let $uris := cts:uris("",(),cts:collection-query( + ("http://marklogic.com/collections/dls/latest-version") +)) return (count($uris), $uris) diff --git a/corb2/show.xqy b/corb2/show.xqy index 35943d4..fd3108c 100644 --- a/corb2/show.xqy +++ b/corb2/show.xqy @@ -21,4 +21,6 @@ let $node := {$slug} let $log := ($log, xdmp:quote($node)) +let $do_the_thing := xdmp:document-set-property($URI, $node) + return string-join($log, " ")