|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Order of elements in a complex-type
From: Seema Kumar <2kseema@sun20.datamatics.com>
Date: Wed, 28 Nov 2001 17:56:38 +0530 Message-ID: <00a301c17807$edb5bfa0$524111cf@datamatics.com> To: <xmlschema-dev@w3.org> Hello all, I am relatively new to XML schema and am facing a few problems while defnining complex types. Is there any mechanism where the order of elements in a complex-type may be made immaterial in a complex-type defnition ? For eg in the following defnition : <xsd:complexType name="FormType" > <xsd:sequence> <xsd:element name="TextBox" type="TextBoxType" minOccurs="0"/> <xsd:element name="TextArea" type="TextAreaType" minOccurs="0"/> <xsd:element name="Header" type="HeaderType" minOccurs="0"/> </xsd:sequence> </xsd:complexType> the schema parser expects the elements TextBox, TextArea and Header to appear in the same sequence. How do I define it such that they may appear any number of times inside Form in any sequence ? Thanks in advance. Bye SeemaReceived on Wednesday, 28 November 2001 07:26:59 GMT |
Subscribe in XML format
|






