A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
restrict the value choice of a attribut in xml schema
Joined: Jan 14, 2002
Oct 05, 2009 03:12:32
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?
It is sorta covered in the
JavaRanch Style Guide
subject: restrict the value choice of a attribut in xml schema
Question: is this possible in XML?
XML One liners for the exam....
help requied for <restriction base="ID">
target namespace in XML
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015