temporal:axis-remove( $axis-name as xs:string ) as empty-sequence()
This function removes an axis definition from the schema database.
A TEMPORAL-AXISINUSE exception is thrown if the named axis is referred to by a collection.
Parameters | |
---|---|
axis-name | The name of the axis to be deleted. |
xquery version "1.0-ml"; import module namespace temporal = "http://marklogic.com/xdmp/temporal" at "/MarkLogic/temporal.xqy"; temporal:axis-remove("system") (: Removes the "system" axis from the database. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.