Re: XSD for 'at least one of'

Liam R E Quin <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Organization W3C - World Wide Web Consortium
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.