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

RE: minOccurs help?

From: Naren Chawla <naren@ipedo.com>
Date: Sat, 19 Jan 2002 22:19:45 -0500 (EST)
Message-ID: <EFBAE6044AC0CD41981E01582A1E94AB0463E0@alibaba.ingine.com>
To: "Neill Smith" <smith_neill@hotmail.com>, <xmlschema-dev@w3.org>
I may be wrong over here - just getting a handle on XSDL.

However, I suspect we might be confusing things -

 - "minOccurs" is relevant only to local element declaration
 - "use" is relevant only to local attribute declarations

And it does make logical sense, attribute cannot occur multiple times,
it can only be "optional|required|prohibited". However, an element can
occur zero or more times. And minOccurs="0" equates to element being


-----Original Message-----
From: Neill Smith [mailto:smith_neill@hotmail.com]
Sent: Friday, January 18, 2002 3:22 AM
To: xmlschema-dev@w3.org
Subject: minOccurs help?

is minOccurs="0" the same as use="optional" ???
I am confused between the 2?

If so, does it mean that minOccurs="1" requires at least one entry?

I would appreciated if somebody can clear this matter up for me.

Thanks in advance.


Join the world's largest e-mail service with MSN Hotmail. 
Received on Monday, 21 January 2002 20:58:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:55 UTC