This function is deprecated and will be removed in a future release.
A utility function used to decorate an XML instance with namespace
information during extraction.
Parameters
instance
The instance to be annotated with namespace information.
namespace
The namespace URI to be added to the instance.
namespace-prefix
The namespace prefix to be bound to namespace URI.
Usage Notes
You will not usually call this function outside of code generated by
Entity services. The generated code uses this function to decorate an
instance with namespace URI and prefix information derived from the model.
The generated code only invokes this function for entity types that
declare a namespace and namespace prefix.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.