unit

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
type union of(unitTypes, ident) required

Source

<xs:element minOccurs="0" name="unit">
  <xs:complexType>
    <xs:attribute name="type" use="required">
      <xs:simpleType>
        <xs:union memberTypes="unitTypes ident"/>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample