GeeCON Prague 2014*
The moose likes XML and Related Technologies and the fly likes restrict the value choice of a attribut in xml schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "restrict the value choice of a attribut in xml schema" Watch "restrict the value choice of a attribut in xml schema" New topic
Author

restrict the value choice of a attribut in xml schema

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
in the schema, i want to restrict the value of an attribute to a fixed group(somewhat like the <option> tag in html) so the value of the attribute in xml document must fall into this group. or not, the validation will fail. how can i do that?

Thanks
 
GeeCON Prague 2014
 
subject: restrict the value choice of a attribut in xml schema