QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
alternate | restriction of xs:NMTOKEN | no | optional | ||||
class | xs:NMTOKEN | optional | |||||
id | xs:ID | optional | |||||
title | optional | ||||||
xml:lang | union of(xs:language, restriction of xs:string) | optional |
|
Element | nutrient |
<xs:element name="n-name"> <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="alternate" default="no"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="no"/> <xs:enumeration value="yes"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> |