Schema Central > XML Schema 1.0 > xsd:boolean
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xsd:boolean

The type xsd:boolean represents logical yes/no values. The valid values for xsd:boolean are true, false, 0, and 1. Values that are capitalized (e.g. TRUE) or abbreviated (e.g. T) are not valid.

Simple Type Information

Namespace: http://www.w3.org/2001/XMLSchema

Schema Document: datatypes.xsd

Content

Examples

Valid valuesComment
true
false
0false
1true
Invalid valuesComment
TRUEvalues are case sensitive
Tthe word "true" must be spelled out
an empty value is not valid, unless xsi:nil is used

Type Inheritance Chain

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com