xmldb:update($collection-uri as xs:string, $modifications as node()) xs:integer
Processes an XUpdate request, $modifications, against a collection $collection-uri. Collection URIs can be specified either as a simple collection path or an XMLDB URI.The modifications are passed in a document conforming to the XUpdate specification. http://rx4rdf.liminalzone.org/xupdate-wd.html#N1a32e0The function returns the number of modifications caused by the XUpdate.
$collection-uri
The collection URI
$modifications
The XUpdate modifications to be processed
Returns the number of modifications, as xs:integer, caused by the XUpdate