{ "ns" : "http://zorba.io/modules/store/dynamic/collections/w3c/dml", "description" : " This modules provides a set of functions to modify a collection and retrieve\n the nodes contained in a particular collection.\n
\n Such collections are identified by a URI as defined in the XQuery\n specification.\n However, please note that we do not advice users to use collections\n identified by URIs.\n Instead, we refer to the\n data lifecycle documentation.\n It gives an overview of several ways to work with collections, documents,\n and other data-structures.\n", "sees" : [ "insert-nodes-after()
\n function except it immediately applies the resulting pending updates and\n returns the nodes that have been inserted.\n", "summary" : "
This function does the same as the insert-nodes-after() \n function except it immediately applies the resulting pending updates and\n returns the nodes that have been inserted.
", "annotation_str" : " %an:sequential", "annotations" : [ { "prefix" : "an", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "insert-nodes-before()
\n function except it immediately applies the resulting pending updates and\n returns the nodes that have been inserted.\n", "summary" : "This function does the same as the insert-nodes-before() \n function except it immediately applies the resulting pending updates and\n returns the nodes that have been inserted.
", "annotation_str" : " %an:sequential", "annotations" : [ { "prefix" : "an", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "$content
will be inserted.insert-nodes()
function\n except it immediately applies the resulting pending updates and returns the\n nodes that have been inserted.\n", "summary" : "This function does the same as the insert-nodes() function\n except it immediately applies the resulting pending updates and returns the\n nodes that have been inserted.
", "annotation_str" : " %an:sequential", "annotations" : [ { "prefix" : "an", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "insert-nodes-last()
function\n except it immediately applies the resulting pending updates and returns the\n nodes that have been inserted.\n", "summary" : "This function does the same as the insert-nodes-last() function\n except it immediately applies the resulting pending updates and returns the\n nodes that have been inserted.
", "annotation_str" : " %an:sequential", "annotations" : [ { "prefix" : "an", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "Gets the name of the collection the given node belongs to.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "node", "type" : "node()", "occurence" : null, "description" : "$node
belongs." }, "errors" : [ "$node
does not belong to a collection.Gets the sequence of nodes of the collection identified by the given name.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "Deletes the first node from a collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "Deletes the last node from a collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "Deletes the first N nodes from a collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "$number
items.Deletes the last N nodes from a collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "$number
items.Deletes nodes from a collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "nodes", "type" : "node()", "occurence" : null, "description" : "Gets the index of the given node in the collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "node", "type" : "node()", "occurence" : null, "description" : "$node
in the collection." }, "errors" : [ "$node
is not contained in any collection.Inserts copies of the given nodes into a collection at the position\n directly following the given target node.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "$target
node is not contained in the collection.Inserts copies of the given nodes into a collection at the position directly\n preceding the given target node.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "$content
will be inserted.$target
node is not contained in the collection.Inserts copies of the given nodes at the beginning of the collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "$content
into the collection." }, "errors" : [ "Inserts copies of the given nodes at the end of the collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "name", "type" : "xs:string", "occurence" : null, "description" : "