- From: Mukund Balasubramanian <mukund@cs.stanford.edu>
- Date: Fri, 02 Feb 2001 16:02:07 -0800
- To: Ayalew Kassahun <A.Kassahun@InfoRay.NL>
- CC: xmlschema-dev@w3.org
Hi,
I presume that is what you get when you define an element with maxOccurs
> 1. For example:
<xsd:complexType name="MyClass">
<xsd:sequence>
<xsd:element name="arr" type="MyElement" maxOccurs="unbounded"/>
<xsd:sequence>
</xsd:complexType>
is equivalent to (simplistically):
class MyClass {
MyElement[] arr;
}
Hope that makes things clear...
ThanX,
Mukund Balasubramanian
Ayalew Kassahun wrote:
> hi,
>
> How can define C like array (all subelements should be of same type) with
> XML Schema?
>
> thanks in advance,
> Ayalew
Received on Friday, 2 February 2001 19:14:42 UTC