Changes

Jump to navigation Jump to search
13 bytes removed ,  12:39, 23 April 2011
no edit summary
Maps may be compared using the <code>fn:deep-equal</code> function. The semantics for this function are extended so that when two items are compared, at any level of recursion, the items compare equal if they are both maps, if both use the same collation, if both contain the same set of keys (compared using the <code>eq</code> operator), without regard to ordering, and if for each key that is present in both maps, the associated values are deep-equal. When comparing maps, the maps' collation is used rather than the collation supplied as an argument to the <code>fn:deep-equal</code> function.
There is no operation to atomize a map or convert it to a string. Instead, the The following example gives an example XQuery snippet shows how the contents of a map can be serialized:
<pre class="brush:xquery">
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu