Schema and groups

David Nielsen <[email protected]> Wed, 20 Apr 2005 18:07:44 +0200
Newsgroups gmane.comp.java.sun.xml.general
Message-ID <[email protected]>
Hi..
I have a little trouble defining a group in my xsd schema.

I have a tag in my xml which have some sub elements
eks:

<TEST>
    <ELEM1>
    <ELEM2>
    <ELEM3>
</TEST>

How do i define in my xsd schema that any element (ELEM1/2/3), can
accour any number of times, in any order and none of them are required.

I cant use: <xsd:sequence> because they can come in any order,
I cant use: <xsd:choice> because all elements can be there
I cant use: <xsd:all> because its not required that all of them have to
be there.

How do i do that ?


David


David

-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:[email protected]
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:[email protected] the following message;
signoff xml-interest.