- From: Eric van der Vlist <vdv@dyomedea.com>
- Date: Fri, 12 Jan 2001 17:37:15 +0100
- To: Ian Stokes-Rees <ian@decisionsoft.com>
- CC: xmlschema-dev@w3.org
Ian Stokes-Rees wrote: > > I cannot seem to work out how you would create a schema that allowed any > number of elements A, B, C, or D inside an element sample. e.g.: In this specific case, you can write: <element name="sample"> <complexType> <choice minOccurs="0" maxOccurs="unbounded"> <element name="A" /> <element name="B" /> <element name="C" /> <element name="D" /> </choice> </complexType> </element> and this will do the trick. Eric > Ian. > -- > ian.stokes-rees@decisionsoft.com tel: +1865 203 192 > DecisionSoft Ltd. fax: +1865 203 194 > www.decisionsoft.com Oxford, UK, OX2 OEA -- ------------------------------------------------------------------------ Eric van der Vlist Dyomedea http://dyomedea.com http://xmlfr.org http://4xt.org http://ducotede.com ------------------------------------------------------------------------
Received on Friday, 12 January 2001 11:54:25 UTC