Hello all,

I'm using Marklogic version 8 on Windows 8. I would like to create a
temporal collection to insert in Marklogic temporal documents. The XQuery
template i used is the following:

=======
xquery version "1.0-ml";
import module namespace temporal="http://marklogic.com/xdmp/temporal"; at
"/MarkLogic/temporal.xqy";
(: import module namespace temporal="http://marklogic.com/xdmp/temporal"; at
"C:/Program Files/MarkLogic/Modules/MarkLogic/temporal.xqy"; :)
(: temporal:axis-remove("system"); :)
(: temporal:axis-remove("valid"); :)
temporal:axis-create("system",
cts:element-reference(xs:QName("systemStart")),
cts:element-reference(xs:QName("systemEnd")));
temporal:axis-create("valid",
cts:element-reference(xs:QName("validStart")),
cts:element-reference(xs:QName("validEnd")));
temporal:collection-create("bitemporal", "system", "valid");
=======

After trying many changes, I'm still facing the following error : Undefined
function temporal:axis-create.

[image: Images intégrées 1]
Thanks in advance for your help.

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

Reply via email to