
| QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
|---|---|---|---|---|---|---|---|
| class | xs:NMTOKEN | optional | |||||
| id | xs:ID | optional | |||||
| system | restriction of xs:NMTOKEN | optional | |||||
| title | optional | ||||||
| unit | restriction of xs:NMTOKEN | optional | |||||
| xml:lang | union of(xs:language, restriction of xs:string) | optional |
|
| Element | temp |
<xs:element name="tempunit"> <xs:complexType mixed="true"> <xs:attribute name="id" type="xs:ID"/> <xs:attribute name="class" type="xs:NMTOKEN"/> <xs:attribute name="title"/> <xs:attribute ref="xml:lang"/> <xs:attribute name="system"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="SI"/> <xs:enumeration value="US"/> <xs:enumeration value="other"/> <xs:enumeration value="metric"/> <xs:enumeration value="Imperial"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="unit"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="C"/> <xs:enumeration value="F"/> <xs:enumeration value="K"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> |