I've been studying up how to write an XML Schema and I'm stumped on XSD ordering indicators like xs:sequence, xs:all, xs:choice. There seem to be only 3 of them and they're required in complex types. But what if I have the XML like the following:
<row>
<name>John</name>
<city>LA</city>
<country>France</country>
</row>
In which the 3 elements inside <row/> can appear in any order i.e. can appear before <city> and <name> etc. like this:
<row>
<country>France</country>
<city>LA</city>
<name>John</name>
</row>
Does this mean I'll have specify a new <xs:sequence> for each sequence of elements. What if I have something like 20 elements with no specific order. Is there some shortcut here? Am I missing something?
UPDATE: I can't use <xs:all> because I might leave some elements. All of them are not required.