RE: minOccurs help?

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
optional.

--Naren




-----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.

N.


_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

Received on Monday, 21 January 2002 20:58:58 UTC