xdw v3 oasis

Element : BL1 (XML Type: BL )


Summary

Package : v3

XML Type : BL

Comments : 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.


Generalization

Parent : ANY


Attributes
Name Type cardinality Comment
value
Attribute : value
boolean 0...1

Constraints

There are no specific rules for this element.


Schema declaration
<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>