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:


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.columnGetPermissions This function returns the permissions granted to a protected column.
tde.columnRemovePermissions This function removes all permissions from a protected column.
tde.columnSetPermissions This function sets the permissions of a protected column.
tde.templateInsert 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.