users@jaxb.java.net

RE: Sequence element order

From: PHDB _ <phdb2000_at_hotmail.com>
Date: Thu, 04 Mar 2004 13:01:00 +0000

Hi

Use <all> and that will work

<xs:all>
<xs:element name="A" type="A_type"/>
<xs:element name="B" type="B_type"/>
</xs:all>


Rgds,

>Hi.
>
>Let us say that in the XML Schema i define a sequence of two elements A and
>B, in this order.
>
>It seems that the xml must be formed with A first, then B, if we want JAXB
>to read it.
>
>Is there a way to specify in the schema that the elements A and B can
>appear
>in any order?
>
>Thanks again for your help.

_________________________________________________________________
MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en son et en images
avec vos amis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net