I want to define that the first element will be of a specific type, and the following will be some elements in any order. Like this:
<node>
<!-- always at first -->
<node-data>
...
</node-data>
<!-- other nodes in any order-->
<node3></node3>
<node1></node1>
<node2></node2>
</node>
I can’t use <xsd:sequence> because it will force all nodes to be in order.
Thanks for your help. Sorry on my english.
A good starting layout could look like this:
You could then refine the types, add more nodes under the choice, etc. If you want to support wildcards, then use of
xs:anywould be required.