W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Question about complexType with unordered child elements with at least one child element

From: Anna A. Yacubovitch <Anna@locationet.com>
Date: Thu, 21 Jun 2001 10:19:49 +0200
Message-ID: <C634935CAE85C74FA1AAD89A72A666CD062D6A@exchangeback.AD.LOCATIONET.COM>
To: <xmlschema-dev@w3.org>
I need some help.
I need a type that allows any order of child elements, every element can
appear no more than a single time. 

<xsd:complexType name="ApplicationRequest">
			<xsd:element name="PermissionRequestSet"
type="xsd:string" minOccurs="0"/>
			<xsd:element name="LocationRequestSet"
type="xsd:string" minOccurs="0"/>
			<xsd:element name="MapRequestSet"
type="xsd:string" minOccurs="0"/>
			<xsd:element name="InfoRequestSet"
type="xsd:string" minOccurs="0"/>
			<xsd:element name="GeoCodeRequestSet"
type="GeoCodeRequestSet" minOccurs="0"/>
			<xsd:element name="GeoItemsRequestSet"
type="xsd:string" minOccurs="0"/>
			<xsd:element name="RouteRequestSet"
type="xsd:string" minOccurs="0"/>
<xsd:element name="ApplicationRequest" type="ApplicationRequest">

The problem is that I don't want to get validation on

I need at least one child element.


Anna Yacubovitch
Received on Thursday, 21 June 2001 03:21:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:51 UTC