2.1 boolean Data Type

A boolean is an XML schema primitive data type, as specified in [XMLSCHEMA2/2] section 3.2.2. It is declared as an element with a type attribute of "boolean".

The value of a boolean element is an integer whose only valid values are 1 (TRUE) or 0 (FALSE). Elements with a boolean data type MUST be encoded and transmitted as [WBXML1.2] inline strings.