entity functions

The table below lists all the "entity" XQuery library functions (in this namespace: http://marklogic.com/entity).

The entity enrichment function module is installed as the following file:

  • install_dir/Modules/MarkLogic/entity.xqy

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

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

import module namespace entity="http://marklogic.com/entity" at "/MarkLogic/entity.xqy"

The entity enrichment functions are used to add markup to XML for people, places, and other entities.

1 function
Function nameDescription
entity:enrich Returns the entity-enriched XML for the given XML node.