Difference between and in schema definition?
<xsd:all> specifies that the child elements can appear in any order. <xsd:sequence> specifies child elements can only appear in the order mentioned. Example for Sequence: <xs:element name=”compElement”> <xs:complexType> <xs:sequence> <xs:element name=”ele1″ type=”xs:string”/> <xs:element name=”ele2″ type=”xs:string”/> <xs:element name=”ele3″ type=”xs:string”/> <xs:element name=”ele4″ type=”xs:string”/> </xs:sequence> </xs:complexType> </xs:element> If you create an XML from this xsd then, it will … Read more