Name

xs:nonNegativeInteger

Facets

xs:enumeration, xs:fractionDigits, xs:maxExclusive, xs:maxInclusive, xs:minExclusive, xs:minInclusive, xs:pattern, xs:totalDigits, xs:whiteSpace

The xs:nonNegativeInteger type represents a positive (or zero) base-10 number without any decimal points or fractional digits. Values may include the digits 0–9 (and only those digits, not other Unicode digits) and, optionally, a leading plus sign. No decimal point may appear, and the value must be zero or more. Acceptable values include 793234643383, 212320, 1, and 0.

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.