Update(string, string, OracleXmlType)
This method updates the XML nodes identified by the given XPath expression with the XML data stored in the given OracleXmlType value and a string parameter for namespace resolution.
Declaration
// C# public void Update(string xpathExpr, string nsMap, OracleXmlType value);
Parameters
-
xpathExprThe XPath expression that identifies the nodes to update.
-
nsMapThe string parameter used for namespace resolution of the XPath expression.
nsMaphas zero or more namespaces separated by spaces.nsMapcan be null. -
valueThe new value as an
OracleXmlTypeobject.
Exceptions
ObjectDisposedException - The object is already disposed.
ArgumentNullException - The xpathExpr is null or zero-length.
InvalidOperationException - The OracleConnection is not open or has been closed during the lifetime of the object.
Remarks
The default namespace is ignored if its value is an empty string.