Name

xs:nonPositiveInteger

Synopsis

Defined in: XML Schema part 2

This datatype is derived from xs:integer, with the restriction that positive values are not allowed.

Caveats

The same warnings about length of the lexical representation from xs:integer apply here.

Examples

  • 0

  • -1234

Get XForms Essentials 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.