制約ファセットで一つ忘れてました。
enumeration 制約ファセットなるものがあります。
これは、特定の値しか設定させないという制約ファセットです。
<xsd:attribute name="Enabled">
<xsd:restriction type="xsd:string">
<xsd:simpleType>
<xsd:enumeration value="True"/>
<xsd:enumeration value="False"/>
</xsd:simpleType>
</xsd:restriction>
</xsd:attribute>
このような、属性定義を行うと Enabled 属性には True か False しか設定できなくなります。
<xsd:attribute name="nowrap">
<xsd:restriction type="xsd:string">
<xsd:simpleType>
<xsd:enumeration value="nowrap"/>
</xsd:simpleType>
</xsd:restriction>
</xsd:attribute>
とすれば一応下記と同値になるのかな?(やんないけどね)
<xsd:attribute name="nowrap" type="xsd:string" fixed="nowrap"/>