MarkLogic 9 Product Documentation
functions (Template Driven Extraction)

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.

4 functions
Function name Description
cts.validTdeContext Parses path expressions and resolves namespaces using the $map parameter.
tde.getView This function returns a view's description using a schema and a view name.
tde.nodeDataExtract Extracts row or triple data from a list of specified documents by applying extraction templates that are either stored in the schema database or provided as a second argument.
tde.validate In addition to xdmp.validate that can be used for validating against the extraction template schema.
Powered by MarkLogic Server | Terms of Use | Privacy Policy