by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


Name

xsd:boolean — Boolean (true or false)

Synopsis

<xsd:simpleType name="boolean" id="boolean">
 <xsd:restriction base="xsd:anySimpleType">
 <xsd:whiteSpace value="collapse" fixed="true"/>
 </xsd:restriction>
</xsd:simpleType>

Derived from

xsd:anySimpleType

Primary

xsd:boolean

Known subtypes

None

Data parameters (facets)

pattern

Description

The value space of xsd:boolean is true and false. Its lexical space accepts true, false, and also 1 (for true) and 0 (for false).

Restrictions

This datatype can't be localized—for instance, it can't accept the French vrai and faux instead of the English true and false.

Example

<book id="b0836217462" available="true"/>

This text is released under the Free Software Foundation GFDL.