The Returning XML Document |
The XML import method returns an XML document that contains all row elements that have been updated or inserted directly by the XML import. The structure of this returned XML document is described in "XML Representation of Application Data". The attributes for the row elements contain the column values after processing the row element. Sequence numbers have been calculated and corrective single record constraints are executed. Therefore the values returned in the document are not necessarily equal to those in the RDBMS after the commit. The returning XML document shows the inserted or updated row elements, including the row elements inserted or updated by corrective multi-record constraints (reparations). Each selected XML document in the INVOKE statement is treated as an import request. Each of these import processes results in a returning XML document with row elements. If an import process does not insert or update any record, it results in a returning XML document with only a root element. |