Loading TOC...

tde functions (Template Driven Extraction)

The tde functions are built-in functions for Extraction Templates. The tde namespace prefix is built into the server.

The tde (Template-driven Data Extraction) function module is installed as the following file:

install_dir/Modules/MarkLogic/tde.xqy

where install_dir is the directory in which MarkLogic Server is installed.

To use the tde.xqy module in your own XQuery modules, include the following line in your XQuery prolog:

import module "http://marklogic.com/xdmp/tde" at "/MarkLogic/tde.xqy"

The library uses the tde: namespace, predefined in the server.

4 functions
Function name Description
tde:column-get-permissions This function returns the permissions granted to a protected column.
tde:column-remove-permissions This function removes all permissions from a protected column.
tde:column-set-permissions This function sets the permissions of a protected column.
tde:template-insert This function validates the template, inserts the template as a document into the tde collection of the schema database (if executed on the content database) with the default permissions, and reindexes the database.