This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: restrict the value choice of a attribut in xml schema
 
Similar Threads
help requied for <restriction base="ID">
Question: is this possible in XML?
XML One liners for the exam....
apply- templates!!!!!!!!
target namespace in XML