I have a simple element defined in this way:
<xs:element name="stat" type="statType" />
<xs:complexType name="statType">
<xs:attribute name="color" use="required"/>
</xs:complexType>
But I need that the color attribute adhere to the format: "int,int,int" where each int is in the range [0,255]. Can you kindly help me defining it? Thanks in advance!
Use XSD Restrictions to define color type:
`
Use color type : `