W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2000

Help with Groups

From: Bell, David I <david_i_bell@hp.com>
Date: Fri, 17 Mar 2000 10:50:34 -0800
Message-ID: <140D21516EC2D3119EE700902787664403AFA6@hplex1.hpl.hp.com>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Kind Readers,

I'm not quite sure how to express the following in XML Schema:

I want a group such that each item in the group may appear zero or one times
and there must be at least one element present.  For example, element <x>
can contain elements chosen from the set {<a>, <b>, <c>, <d>}.  Each element
in the set may appear at most once and element <x> must not be empty. 

How do I express this in XML Schema?  Any help would be appreciated.


David I. Bell
Tel: 650.236-5007
Received on Friday, 17 March 2000 13:52:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:52 UTC