- From: Avula, Raj <ravula@firstam.com>
- Date: Tue, 1 Apr 2003 11:23:47 -0800
- To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Hi, I have a complexType with two element children and I need to make sure that atleast one of that should be present. Here is the sample. <xs:element name="REQUEST"> <xs:complexType> <xs:sequence> <xs:element ref="OPTION" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="DATA" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> In the above example, I need to make sure that atleast on among OPTION, DATA should be present. Thanks, Raj.
Received on Tuesday, 1 April 2003 14:57:04 UTC