Re: Sequences of choices

Err, wouldn't

<choice minOccurs='1' maxOccurs='unbounded'>
  <element name='E1' />
  <element name='E2' />
</choice>

do the job? Or have I misunderstood the question?

Martin Gudgin
DevelopMentor


----- Original Message ----- 
From: "I. France" <ian@informatics.bangor.ac.uk>
To: <xmlschema-dev@w3.org>
Sent: Friday, May 11, 2001 11:55 AM
Subject: Sequences of choices


> Hi,
> 
>   The following problem arose recently. How to convert a DTD with a
> declaration (E1 | E2)+ into a schema document. Obviously neither choice
> nor sequence do the job. Is it possible to do in schema? 
> 
> cheers,
> 
> Ian.
> -- 
> Dr Ian France, 
> School of Informatics, University of Wales
> Dean Street, Bangor, Gwynedd, UK LL57 1UT
> Email: ian@informatics.bangor.ac.uk
> Tel: (01248) 382716
> 

Received on Friday, 11 May 2001 08:23:57 UTC