Understanding Element Types and Data Types

This section describes the element types and element data types that the PeopleSoft system supports as part of its document framework.

Note: The term and concept of elements described in this topic refers to node elements.

When you manage documents in the PeopleSoft system, you can add and manage root elements, child elements, and peer elements.

The first element that appears in a document is the root element. A document can have only one root element. When you create a new document, the system automatically creates a root element and uses the document name as the root element name.

This section discusses the data types that PeopleSoft supports.

Field or Control

Definition

Primitive

PeopleSoft supports the primitive data types in the following list. You may use primitive data types in child and peer elements.

  • Binary

  • Boolean

  • Character

  • Date

  • DateTime

  • Decimal

  • Integer

  • String

  • Text

  • Time

Note: When an Integer or Decimal is selected as a primitive and the unbounded checkbox is selected then the maximum that will be allowed is a length of 31. This maximum includes the negative ,if applicable, and the fractional part for decimals.

Compound

A compound data type can be a PeopleSoft record, complex primitive data type, or another document.

Complex primitive

A complex primitive data type is a primitive data type that can contain attributes.

With this data type, the system-generated XML creates the element tag with the associated attributes as a sibling instead of a child.

Collection

Collection elements represent multiple occurrences of a single type, similar to an array or a set.