Name
xs:nonPositiveInteger
Synopsis
The xs:nonPositiveInteger
type represents a mathematical integer that is less
than or equal to zero. It is derived from xs:integer
by setting the maxInclusive
facet to 0. These are all
legal values of type xs:nonPositiveInteger
:
-2
-200
-9223372036854775809
-9223372036854775808922337203685477580892233720368
0
Constraining facets that apply to xs:nonPositiveInteger
are minInclusive
, maxInclusive
, minExclusive
, maxExclusive
, pattern
, enumeration
, whiteSpace
, and totalDigits
.
Get XML in a Nutshell, 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.