Jump to content

restrictions on enumerations


Guest thePete
 Share

Recommended Posts

Guest thePete

hi,i want to generate a xml file from a xsd file, and i was wondering if i somehow can restrict some selections, e.g. this relationship is given:vehicle type --> model --> paint --> orange | blue | rednow say, i want to restrict the car paint selection to red if the vehicle type is a car and the model is a convertible. it's blue, when it's a car and a sedan . now say it's orange, when it's a truck on all models.I'm not really sure, how i should model those constraints in a xsd file. Thanks for helping me out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...