Specifications

CHAPTER 12 Exporting and Importing XML Data
Users Guide 377
<!ELEMENT Date (#PCDATA)>
<!ELEMENT CustID (#PCDATA)>
<!ELEMENT OrderID (#PCDATA)>
<!ELEMENT Items (ItemID, Quantity)>
<!ELEMENT ItemID (#PCDATA)>
<!ELEMENT Quantity (#PCDATA)>
]>
Root element
You can change the name of the root element, add attributes and children, and
insert comments, instructions, and, if they do not already exist, XML and/or
document type declarations before it.
Changing the name of the root element changes the name of its start and end
tags. You can change the name using the Edit menu item, or in the Element
Attributes dialog box. Changing the name of the document type declaration, if
it exists, also changes the name of the root element, and vice versa. The root
element name is always the same as the document type declaration name.
You can add the following kinds of children to the root element:
•Elements
•Text
Control references
InfoMaker expressions (including column references)
CDATA sections
Comments
Processing instructions
Controls
Adding a control reference opens a dialog box containing a list of the columns,
computed fields, report controls, and text controls in the document.
Control references can also be added to empty attribute values or element
contents using drag-and-drop from the Control List view. Column references
can also be added using drag-and-drop from the Column Specifications view.