Type category

The Type category contains constructs that represent the global types in the schema.

The complex type Address contains a sequence of elements. The components of the sequence are organized in the Comp category. The sequence in the Address type has three elements that are represented by these item types in the type tree: city, name, street. The TypeDef group from the Address category contains the text items that have been defined in its Comp category.

The complex type USAddress is an extension of the Address type that adds two more elements: state and zip.

  • The item zip is a numeric item. Its type in the schema is "positiveInteger".
  • The item state has the USState type in the schema. USState is defined as a text item, but it has a set of allowed values. To see these values, double-click on the USState item.

The complex type UKAddress is also an extension of the Address type in the schema, but it adds the element UKPostcode and the attribute exportCode. It is represented in type tree by the UKAddress category, that besides the Comp category, contains the Attr category and the AttrList group. The AttrList group contains the items that have been defined in the Attr category-in this case the exportCode numeric item.