Skip to main content

Occurs

Specifies the number of times this element may occur in a document. There are two values: minimum and maximum. For example, to require that the element occur at least once, set the minimum value to 1. If you do not want to restrict the maximum number of occurrences, set the maximum value to -1.

Following are the values for mandatory, optional, and loop elements:
 

Minimum

Maximum

Mandatory

1

1

Optional

0

1

Loop

0

-1

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!