Projecting Objects to XML
Summary of XML Projection Parameters

This appendix summarizes the XML projection options in Caché. Unless otherwise indicated, the class parameters are available in your XML-enabled classes, and the property parameters are available for properties of those classes.

Topic Parameters
Enabling the XML projection. See Projecting a Caché Object to XML.” XMLENABLED class parameter
Mapping of properties to elements or attributes. See Projecting Caché Objects to XML.”
XML element names and attribute names. See Controlling the XML Tag Names.” Defaults are based on XML type names.
XML types. See Controlling the Projection to XML Types.”
Namespaces. See Specifying Namespaces for Elements and Attributes.”
Empty strings and nulls. See Handling Empty Strings and Null Values.”
Escaping XML special characters. See Handling Special XML Characters.”
Time zones. See Handling the UTC Time Zone Indicator.” XMLTIMEZONE property parameter ("UTC" or "IGNORE")
XML type details, including restrictions. See Controlling the Projection to XML Types and Advanced Options for XML Schemas
Using property for input, output, or both. See Controlling the Availability of Projected Properties.” XMLIO property parameter ("INOUT", "IN", "OUT", or "CALC")
Controlling available XML document formats. See Specifying Format Options for the XML Document.” XMLFORMAT class parameter ("LITERAL", "ENCODED", or null for both formats)
Multiple tags with the same name. See Handling a Document with Multiple Tags with the Same Name.” XMLSEQUENCE class parameter (0 or 1)
Stream properties. See Controlling the Line Endings of Stream Properties.” XMLSTREAMMODE property parameter ("BLOCK" or "LINE")
Unexpected tags. See Handling Unexpected Elements and Attributes on Import.”
Namespace prefixes. See Controlling the Namespace Prefix on Export.” XMLPREFIX class parameter
Specifying the pattern restriction in the schema. XMLPATTERN property parameter
There is an additional parameter: the XMLELEMENTREF property parameter, which is deprecated (replaced by XMLREF), but will be supported indefinitely.