<xs:complexType
xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BL">
<xs:annotation>
<xs:documentation>
The Boolean type stands for the values of two-valued logic.
A Boolean value can be either true or
false, or, as any other value may be NULL.
</xs:documentation>
<xs:appinfo>
<sch:pattern
xmlns:sch="http://www.ascc.net/xml/schematron" name="validate BL">
<sch:rule abstract="true" id="rule-BL">
<sch:report test="(@nullFlavor or @value) and not(@nullFlavor and @value)" />
</sch:rule>
</sch:pattern>
</xs:appinfo>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ANY">
<xs:attribute name="value" type="bl" use="optional" />
</xs:extension>
</xs:complexContent>
</xs:complexType>