I\'m defining a user element with XSD. For this example, a user has a name, email and one or more nationalities. I\'ve tried:
For XSD 1.0 the suggestion from leppie works.
The XSD
A sample XML document that validates against the schema
Name name@name.com Italian Japanese Alien
And validation e.g. using xmllint
xmllint --noout --schema test.xsd test.xml test.xml validate