Jump to content

List of constraint values for an attribute


juhel

Recommended Posts

Hi,I would like to write an XSD schema to constraint an attribute to get its value in a specific set of values.For example, I want this set of values in XML : dayAttribute = "monday, tuesday, wednesday"The list must have between 1 to 7 elements.Its values must be some of "monday", "tuesday", .... "sunday"Each value can be used only one time.How can I describe this with an XSD schema?Thank you for your reply,Philippe

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...