Try removing the semicolons after each temporal call and see if it goes
further.  Those are statement separators, so the imports aren't seen.

https://docs.marklogic.com/guide/xquery/enhanced#id_41212

On Thu, Feb 25, 2016 at 4:13 PM, Gaël YIMEN YIMGA <[email protected]>
wrote:

> Hello All,
>
> Any update on this !!!!
>
> Gaël.
> --
> Eng, OCADB, CCAH
> [email protected]
> skype id : yimen.gael
> (m) +33 7 81 67 78 23
> http://yimengael.blogspot.fr/
>
> 2016-02-24 17:24 GMT+01:00 Gaël YIMEN YIMGA <[email protected]>:
>
>> 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
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to