W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2011

Re: XSD for 'at least one of'

From: Liam R E Quin <liam@w3.org>
Date: Fri, 25 Mar 2011 13:40:53 +0100
To: Łukasz Pogorzelski <lukasz.pogorzelski@onet.eu>
Cc: xmlschema-dev@w3.org
Message-ID: <1301056853.13126.4.camel@localhost.localdomain>
On Wed, 2011-03-16 at 15:02 +0100, Łukasz Pogorzelski wrote:
> Hello.
> 
> I spent some time on this problem, and I have some doubts.
> 
> I agree that it must be at least one element, but the same element may 
> occur multiple times. Is there a way to prohibit this ?

maxOccurs="1"

Liam



-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://www.fromoldbooks.org/
Occasional blog: http://www.barefootliam.org/
The barefoot typographer
Received on Friday, 25 March 2011 12:41:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 March 2011 12:41:59 GMT