Skip to content

Sets

Attributes

The set element supports the following attributes:

Attribute Type Default Description
credits xs:nonNegativeInteger 1 Number of credit points the user gets awarded for this input value.
maxsize xs:positiveInteger | Unbounded - Maximum number of elements that the user may put into the set or "unbounded", which means that there should be no upper bound on the size of the set.
maxsizehints xs:boolean - Whether or not to give live hints about the allowed maximum size of the set when the user has not yet submitted the input value.
minsize xs:nonNegativeInteger - Minimum number of elements that the user may put into the set.
minsizehints xs:boolean - Whether or not to give live hints about the allowed minimum size of the set when the user has not yet submitted the input value.
model xs:Name - Name of the model to use for this input value. If this attribute is not set, the input model associated to the input field containing this input value is used.
of SetElementValueTypeList | Auto - Whitespace-separated list of allowed element types that the user may put into this set or "auto", which means that the system will look for all element types that appear in the solution and allow only these.
ofhints xs:boolean - Whether or not to give live hints about the allowed element types in the set when the user has not yet submitted the input value.