MarkLogic Server 11.0 Product Documentation
es.withNamespacees.withNamespace(
instance as Object,
namespace as String,
namespace-prefix as String
) as Object
Summary
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.
See Also
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.