You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 2 Next »
The boolean data type is used to specify a true or false value.
The following is an example of a boolean declaration in a schema:<xs:attribute name="disabled" type="xs:boolean"/>
An element in your document might look like this:<prize disabled="true">999</prize>
Note: Legal values for boolean are true, false, 1 (which indicates true), and 0 (which indicates false).