juhel 0 Posted June 28, 2011 Report Share Posted June 28, 2011 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 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.