Help with choice model group!

Greetings all,

Given the following snippet:

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

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
THE COLLECTORS
P:   813-283-4579
F:   301.664.6834
W: www.phs-net.com

Received on Tuesday, 15 June 2004 09:28:25 UTC