Maps to a UML Attribute with the stereotype XSDmaxInclusive. The name and type of such an attribute do not make sense.
- value – to Attribute initial value.
| Panel |
|---|
| title | maxInclusive XML representation summary |
|---|
|
<maxInclusive fixed = boolean:false id = ID value = anySimpleType {any attributes with non-schema namespace…}> Content: (Annotation?) </maxInclusive> {value} must be in the value space of {base type definition}. |
| Panel |
|---|
| title | maxInclusive XML code sample. |
|---|
|
The following is the definition of a user-derived datatype which limits values to integers less than or equal to 100, using maxInclusive.
<simpleType name='one-hundred-or-less'> <restriction base='integer'> <maxInclusive value='100'/> </restriction> </simpleType> |