Viewing Elements in the Document Tree

A document has one root element and, by default, the same name as the document definition. The root can have one or more child elements; child elements can have none, one, or more peer elements or child elements; and so on.

In the previous example, the root element has the name of the document, PurchaseOrder. The root has the following child elements: Language_Code, TransactionID, BillTo, ShipTo, and Item_collection. All elements except for Language_Code have child elements.

When you view elements in the document tree, the icons to the left of the element name identify the element type:

Field or Control Description

Primitive element

Primitive element.

Collection element

Collection element.

Compound element

Compound element.

These icons also appear on the buttons of the action toolbar. You use the element action toolbar to add elements to the document tree.

Element types and the action toolbar are discussed in greater detail elsewhere in the product documentation.