I am wondering if it is possible to make this work with a standard schema. I'd like to create, in the XML, a list of strings, and restrict some elements to these.
Code: Select all
<!-- these are the allowed names -->
<!-- this is ok since "Bob" is listed above -->
<who name="Bob" />
<!-- this is invalid since "Martha" isn't in the list! -->
<who name="Martha" />