Contents model

This section describes the types of contents model.

(1) sequence

sequence contents models represent a format where the elements defined as child elements occur in a fixed sequence. The elements must also occur in the input file, defined by this sequence.

Screen 4.44 Tree structure of "sequence"

(2) choice

choice contents models represent a format where any of the elements defined as child elements can occur. At least one of the elements defined by choice must also occur in the input file.

Screen 4.45 Tree structure of "choice"

(3) all

"all" contents models represent a format where the elements defined as child elements occur 0 times or once, in no particular sequence. At least one of the elements defined by "all" must also occur in the input file, in no particular sequence.

Screen 4.46 Tree structure of "all"