SE_xmlschema_update |
Updates an existing XML schema with the contents of another XML schema
SE_xmlschema_update (SE_CONNECTION handle, SE_WCHAR *schema, SE_WCHAR options);
handle | Connection handle |
schema | The name of the XML schema |
options | See Description section |
SE_xmlschema_update replaces an existing XML schema with a new XML schema. The name of the existing schema is retained. Both the existing and new schema must exist in and, for DB2 and Oracle, be registered with the DBMS.
Use of a style sheet is optional and only valid for Oracle.
Depending on the update options specified, the target schema can be preserved or dropped. Possible options are as follows:
SE_XML_SCHEMA_UPDATE_DEFAULT |
Updates an XML schema using default options |
SE_XML_SCHEMA_DB2_UPDATE_PRESERVE_NEW | Default for DB2 |
SE_XML_SCHEMA_DB2_UPDATE_DROP_NEW | Drop new schema after updating existing one (DB2 only) |
SE_XML_SCHEMA_ORA_UPDATE_BINARY_XML | Drop new schema after updating existing one (Oracle only) |
SE_SUCCESS
SE_INVALID_POINTER
SE_OUT_OF_CLMEM
SE_SDE_NOT_STARTED