I've built XML schemas before, and created elements that had enumerations or attributes, but never both. What I want is something like:
<state code="1234">GA</state>
Where the "GA" value comes from an enumerated list of possible state values. No matter what I do, I can't come up with a solution that allows me to give the element both enumeration and an attribute. How can I make it happen?
<state code="1234">GA</state>
Where the "GA" value comes from an enumerated list of possible state values. No matter what I do, I can't come up with a solution that allows me to give the element both enumeration and an attribute. How can I make it happen?