es:init-translation-source

es:init-translation-source(
   $source as item()*,
   $entity-type-name as xs:string
) as item()*

Summary

This function is deprecated and will not be supported in MarkLogic 11.
A utility function used in a generated version translator module to initialize the context for converting instances from one version to another.

Parameters
source Zero or more envelope documents or canonical instances to be converted.
entity-type-name The name of the entity type represented by the input source nodes.

Usage Notes

You will not usually call this function outside of a version translator module generated by Entity Services. The generated code uses this function to normalize the source data. This function returns normalized references to source nodes of the specified entity type. These nodes are expected to contain canonical data of that type.

See Also

Powered by MarkLogic Server | Terms of Use | Privacy Policy