Jump to content
Sign in to follow this  
Guest thePete

restrictions on enumerations

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...