<cardinality>
Section:
Relation
Required:
Yes
Value type:
Symbol (see valid symbols below)
Default:
None
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
This tag contains a symbol that represents how many children the element can have.
The valid symbols for this tag are:
Symbol
Min Occurs
Max Occurs
*
0
Unbounded
n
n
n
+
1
Unbounded
x..y
x
y
x..*
x
Unbounded
Note.n, x, and y represent any number in the table above.
Examples
This example shows the cardinality configured for a minimum of one and a maximum of 100 children:
<cardinality>1..100</cardinality>
This example shows the cardinality configured for at least two children with no maximum number:
<cardinality>2..*</cardinality>
This example shows the cardinality configured for exactly ten children:
<cardinality>10</cardinality>
Was this helpful?