W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2001

Re: Sequences of choices

From: Martin Gudgin <marting@develop.com>
Date: Fri, 11 May 2001 13:22:25 +0100
Message-ID: <002e01c0da15$0a9fff40$16cb87d4@greyarea>
To: "I. France" <ian@informatics.bangor.ac.uk>, <xmlschema-dev@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:20 GMT