This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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?