no sequence requirement

admin

Administrator
Staff member
Hi All,

I have to create a xsd file for xml validation. I need to NOT force sequence for mydate and myname. How should I change my xsd to allow mydate and myname to be in any order?

Thanks!

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="inform">
<xs:complexType>
<xs:sequence>
<xs:element ref="mydate" minOccurs="0"/>
<xs:element ref="myname" minOccurs="0"/>
...

Thanks!
James
 
Back
Top