The boolean datatype is used for binary logic (true/false) : boolean « XML Schema « XML Tutorial






<!-- schema -->
<xsd:element name="choose" default="true" type="xsd:boolean"/>

<!-- instance document, using default value -->
<choose/>

<!-- instance document, not using default value -->
<choose>false</choose>








3.4.boolean
3.4.1.The boolean datatype is used for binary logic (true/false)