This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %XML.Id


datatype class %XML.Id extends %Library.String


The %XML.Id datatype class represents an ID 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 ..%Id(). Thus opening and exporting a persistent object will result in including the ID.
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 ID -- no automatic matching of records is done based on this ID.


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

Inherited Members

Inherited Methods

FeedbackOpens in a new window