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

Help with choice model group!

From: Alexander Sherwood <asherwood@phs-net.com>
Date: Tue, 15 Jun 2004 09:26:00 -0400
Message-Id: <>
To: xmlschema-dev@w3.org

Greetings all,

Given the following snippet:

	<address street="" city="" state="" zip="" type="payment | mailing"/>

I'd like to require at least one _address_ element with a type attribute equal to "mailing", and _one_ optional address element with a type attribute equal to "payment", for a total maxOccurs of 2.

Any ideas? Thanks!

Alex Sherwood
PHS Collection Agency
P:   813-283-4579
F:   301.664.6834
W: www.phs-net.com
Received on Tuesday, 15 June 2004 09:28:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:22 UTC