Projecting Objects to XML Introduction to Object-XML Projections The Basics How It Works Projection Options Related Tools in InterSystems IRIS Possible Applications for XML Documents Projecting Objects to XML Projecting an InterSystems IRIS Object to XML Ensuring That Properties Have Projections to XML Summary of the Default Projection Example XML Projection Specifying Format Options for the Projected XML Document Controlling the Form of the Projection for Simple Properties Controlling the Form of the Projection for Object-Valued Properties Controlling the Form of the Projection for Collection Properties Controlling the Form of the Projection for Relationships Controlling the Form of the Projection of a Stream Property Controlling the Availability of Projected Properties Disabling the Projection Methods in %XML.Adaptor Controlling Transformations of Values Introduction Handling Special XML Characters Handling the UTC Time Zone Indicator Projecting the Value in DISPLAYLIST Controlling the Line Endings of Imported Stream Properties Specifying a Default Date/Time Value Projecting Nonprinting Characters to XML Handling Empty Strings and Null Values Default Projections of Empty Strings and Null Values Exporting Values Importing Values Controlling the XML Element and Attribute Names Default XML Element and Attribute Names Controlling the Name of the Element or Attribute for an Object Projected as a Top-Level Element Controlling the Tags for Simple Properties Controlling the Element and Attribute Names for List-Type Properties Controlling the Element and Attribute Names for Array-Type Properties Specifying Namespaces for Elements and Attributes Overview Specifying the Namespaces for Objects Treated as Global Elements Specifying the Namespaces for Properties Projected as Elements Specifying the Namespaces for Properties Projected as Attributes Specifying Custom Prefixes for Namespaces Recommendations Controlling the Projection to XML Schemas Viewing the Schema for an XML-Enabled Class Projection of Literal Properties to XML Schemas Projection of Stream Classes to XML Types Projection of Collection Properties to XML Schemas Projection of Other XML-Enabled Classes to XML Types Specifying the Namespaces for Types Suppressing the Namespace Prefix for the Type QName Advanced Options for XML Schemas Automatic Creation of Types for Subclasses Creating a Choice List of Subtypes Creating a Substitution Group of Subtypes How Superclasses Are Represented as Types Classes Based on Multiple XML-Enabled Superclasses Special Topics Controlling the Closing of Elements Handling a Document with Multiple Tags with the Same Name Controlling Unswizzling After Export Projecting InterSystems IRIS IDs for Export Controlling the Namespace Prefix on Export Handling Unexpected Elements and Attributes on Import Summary of XML Projection Parameters