Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

%XML.Oid

datatype class %XML.Oid extends %Library.String

ODBC Type: VARCHAR

The %XML.Oid datatype class represents an OID field in an XML enabled class and has the following behavior:
1) If the property has not been set, it's value will default to ..%Oid(). Thus opening and exporting a persistent object will result in including the OID.
2) It is possible to set the property value and then retrieve it. Thus the exported class can be imported and the imported Id is available to the programmer. Note that it will still be the programmer's responsibility to deal with the imported OID -- no automatic matching of records is done based on this OID.

Parameters

parameter XSDTYPE = string;
Declares the XSD type used when projecting XML Schemas.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab