I want to achieve the following:
this is not correct, but w3schools says restrictions on attributes are possible, but doesn't explain how, I've looked some further, but even google displays 3 pages full with useless links....
Code:
<xs:attribute name="Unit" >
<xs:restriction base="xs:string">
<xs:enumeration value="Degree"/>
<xs:enumeration value="Inch"/>
</xs:restriction>
</xs:attribute>
this is not correct, but w3schools says restrictions on attributes are possible, but doesn't explain how, I've looked some further, but even google displays 3 pages full with useless links....