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). |