Mega Code Archive
By declaring a union, you can validate the values in your instance document against multiple types
You specify the types you are combining by including the memberTypes attribute.
The value of the memberTypes attribute should be a whitespace-separated list of references to global definitions or built-in XML Schema datatypes.
The declaration also allows you to specify your memberTypes by creating local definitions.
Some valid elements include the following:
43.847156
Unknown
Some invalid elements include these:
unknown
43.847156 Unknown