XFA Specification
Chapter 15, Template Specification
Template Reference
577
The occur element
An element that describes the constraints over the number of allowable instances for its enclosing
container.
<occur
Properties:
id="xml-id"
initial="1
|
integer"
max="1
|
integer"
min="1
|
integer"
use="cdata"
usehref="cdata"
>
<extras>
[0..1]
</occur>
The occur element is used within the following other elements:
pageArea pageSet proto subform subformSet
The extras property
An enclosure around one or more sets of custom properties. The content of this element may be used by
custom applications.
For more information see "The
extras element".
The id property
A unique identifier that may be used to identify this element as a target.
The initial property
Specifies the initial number of occurrences for the enclosing
subform element
or
subformSet element.
The
default is
1
. This property has no meaning when the container is a
pageArea element
or a
pageSet
element.
The max property
Specifies the maximum number of occurrences for the enclosing container, or
-1
to set no upper
boundary for occurrences. This value defaults to the value of the
min
property. In the absence of a
min
property the default value varies depending upon the type of the enclosing container. If the enclosing
container is a
subform element
or
subformSet element
the default is
1
. However if the enclosing container
is a
pageArea element
or a
pageSet element
the default is
-1
.
The min property
Specifies the minimum number of occurrences for the enclosing container. If the enclosing container is a
subform element
or
subformSet element
the default is
1
. However if the enclosing container is a
pageArea
element
or a
pageSet element
the default is
0
.
Home Index Bookmark Pages
Pages: Home Index All Pages