Name

xs:maxInclusive — Allows you to specify a maximum value that all data in the type must be equal to or less than

Applies to

xs:byte, xs:date, xs:dateTime, xs:decimal, xs:double, xs:duration, xs:float, xs:gDay, xs:gMonth, xs:gMonthDay, xs:gYear, xs:gYearMonth, xs:int, xs:integer, xs:long, xs:negativeInteger, xs:nonNegativeInteger, xs:nonPositiveInteger, xs:positiveInteger, xs:short, xs:time, xs:unsignedByte, xs:unsignedInt, xs:unsignedLong, xs:unsignedShort

Attributes

value

An xs:nonNegativeInteger

Operation

For numeric values, the number in value specifies a number that no contents of that type may exceed. Date and time values must be earlier than or equal to the specified xs:maxInclusive value.

You cannot specify xs:maxExclusive at the same time you specify xs:maxInclusive.

Get XML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.