| Workshops --> XML --> Demo --> schema7.html |
|---|
![]() |
|
Using facets, it is possible to set a range of values that will be allowed in an element
The generic form is
An example is
Notice that this simple type is defined as belonging to an element called "student_status"
So these are all acceptable in the XML document
This is not acceptable
|
||||||||||||||||||||||||
| Page by Howard Rosenbaum | |
| Find me at hrosenba@indiana.edu | You are here: http://www.slis.indiana.edu/hrosenba/www/Workshops/XML/Demo/schema7.html |