Loading TOC...

sem:binding

sem:binding(
   [$map as element(json:object)]
) as sem:binding

Summary

Creates a sem:binding object, which is a sub-type of json:object (and map:map).

This function is a built-in.

Parameters
map A serialized sem:binding object.

Example

  <a>{ sem:binding() }</a>
  => <a>
  <json:object xmlns:json="http://marklogic.com/xdmp/json"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
</a>

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