Projecting Objects to XML
Contents
[Home]  [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Preface : 
 
 
Chapter 1: 
  1.1 The Basics
1.2 How It Works
1.3 Projection Options
1.4 Related Tools in Caché
1.5 Possible Applications for XML Documents
Chapter 2: 
  2.1 Projecting a Caché Object to XML
2.1.1 Exceptions for Objects Used with Web Methods
2.2 Ensuring That Properties Have Projections to XML
2.2.1 Properties Defined with List of or Array of
2.2.2 Properties of Type %ListOfDataTypes or %ArrayOfDataTypes
2.2.3 Properties of Type %ListOfObjects or %ArrayOfObjects
2.2.4 Exceptions
2.3 Summary of the Default Projection
2.4 Example XML Projection
2.4.1 Example XML-Enabled Class
2.4.2 Example XML Document
2.4.3 Example Schema
2.5 Specifying Format Options for the Projected XML Document
2.6 Controlling the Form of the Projection for Simple Properties
2.6.1 Basic XMLPROJECTION Variations
2.6.2 Projecting a Property as Content
2.7 Controlling the Form of the Projection for Object-Valued Properties
2.7.1 Specifying the Form of the Projection for an Object-Valued Property
2.7.2 Specifying an XML Summary
2.7.3 Projecting Only Object Identifiers
2.8 Controlling the Form of the Projection for Collection Properties
2.8.1 Specifying the Form of the Projection for List Properties
2.8.2 Specifying the Form of the Projection for Array Properties
2.9 Controlling the Form of the Projection for Relationships
2.9.1 The Default Projection for Relationships
2.9.2 Projecting the Other Side of the Relationship Instead
2.10 Controlling the Form of the Projection of a Stream Property
2.11 Controlling the Availability of Projected Properties
2.12 Disabling the Projection
2.13 Methods in %XML.Adaptor
Chapter 3: 
  3.1 Introduction
3.2 Handling Special XML Characters
3.2.1 Examples
3.2.2 Alternative Way to Prevent the Escaping
3.3 Handling the UTC Time Zone Indicator
3.4 Projecting the Value in DISPLAYLIST
3.5 Controlling the Line Endings of Imported Stream Properties
3.6 Specifying a Default Date/Time Value
3.7 Projecting Nonprinting Characters to XML
Chapter 4: 
  4.1 Default Projections of Empty Strings and Null Values
4.2 Exporting Values
4.2.1 Controlling the Form of an Empty Element
4.2.2 Details for XMLIGNORENULL, XMLNIL, and XMLUSEEMPTYELEMENT
4.3 Importing Values
Chapter 5: 
  5.1 Default XML Element and Attribute Names
5.2 Controlling the Name of the Element or Attribute for an Object Projected as a Top-Level Element
5.3 Controlling the Tags for Simple Properties
5.4 Controlling the Element and Attribute Names for List-Type Properties
5.5 Controlling the Element and Attribute Names for Array-Type Properties
Chapter 6: 
  6.1 Overview
6.1.1 Namespace Refresher
6.1.2 XML Namespaces and Classes
6.1.3 Namespaces and Context
6.2 Specifying the Namespaces for Objects Treated as Global Elements
6.3 Specifying the Namespaces for Properties Projected as Elements
6.3.1 Case 1: Property Is Treated as Local Element
6.3.2 Case 2: Property Is Treated as Global Element
6.4 Specifying the Namespaces for Properties Projected as Attributes
6.5 Specifying Custom Prefixes for Namespaces
6.6 Recommendations
Chapter 7: 
  7.1 Viewing the Schema for an XML-Enabled Class
7.1.1 Example
7.2 Projection of Literal Properties to XML Schemas
7.2.1 Default XSD Types for Caché Data Type Classes
7.2.2 Compiler Keywords That Affect the Schema
7.2.3 Parameters That Affect XML Schemas
7.3 Projection of Stream Classes to XML Types
7.4 Projection of Collection Properties to XML Schemas
7.4.1 Projection of Collection Properties to XML Schemas
7.4.2 Options for Using Collection Classes
7.5 Projection of Other XML-Enabled Classes to XML Types
7.6 Specifying the Namespaces for Types
7.7 Suppressing the Namespace Prefix for the Type QName
Chapter 8: 
  8.1 Automatic Creation of Types for Subclasses
8.2 Creating a Choice List of Subtypes
8.2.1 Restricting a Subclass from the Choice List
8.2.2 Example for Choice List With Explicit List
8.2.3 Example for Choice List with XMLINCLUDEINGROUP=0
8.3 Creating a Substitution Group of Subtypes
8.3.1 Restricting a Subclass from the Substitution Group
8.4 How Superclasses Are Represented as Types
8.5 Classes Based on Multiple XML-Enabled Superclasses
Chapter 9: 
  9.1 Controlling the Closing of Elements
9.2 Handling a Document with Multiple Tags with the Same Name
9.3 Controlling Unswizzling After Export
9.4 Projecting Caché IDs for Export
9.5 Controlling the Namespace Prefix on Export
9.6 Handling Unexpected Elements and Attributes on Import
 
Appendix A: