Loading TOC...

MarkLogic Server 11.0 Product Documentation
es.initTranslationSource

es.initTranslationSource(
   source as Sequence,
   entity-type-name as String
) as Sequence

Summary

This function is deprecated and will be removed in a future release.
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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.