W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2006

optional, but at least one required

From: Brian Bonner <bkbonner@gmail.com>
Date: Wed, 4 Jan 2006 14:21:45 -0500
Message-ID: <e0904ff40601041121y7295c438y2289093286d7f3f7@mail.gmail.com>
To: xmlschema-dev@w3.org

Hello,

Is there a way through restrictions or xmlschema in general to create
the following criteria?

<options>
     <a></a>
     <b></b>
     <c></c>
</options>

where the rule is that a, b and c are all optional, but at least one
of a, b or c is required.

Thanks.

Brian
Received on Thursday, 5 January 2006 03:41:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:52 GMT