Could someone tell me how to specify in an XSD, that an element can contain any number of arbitrary elements? For exmaple, if I have
<person>
<name>Foo</name>
</person>
I would like to allow any element after the "<name>
" element.
<person>
<name>Foo</name>
<gender>male</gender>
</person>
<person>
<name>Foo</name>
<address>west of here</address>
</person>
<person>
<name>Foo</name>
<address>west of here</address>
<spooge>something else</spooge>
</person>
That is, the name element is required, but after that, you can add any arbitrary element with any type. So if this is the XSD element to describe the <person>
element, what would go after the "<xs:element name='name' .../>
"
<xs:element name="person">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>