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.
The tde functions are built-in functions for Extraction Templates.
The tde
namespace prefix is built into the server.
Function name | Description |
---|---|
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. |