I have an xsd file, that I need to provide the functionality of 'all' and 'unbounded'. I get validation errors if I do so. Eg. <xs:all> <xs:element ref="field" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="grid" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="buttons" minOccurs="0"/> </xs:all>
Is there anyway I can get this functionality? Everything I have read says you cannot have an element unbounded if it is attatched to an 'all'. It has to be attatched to a 'sequence' or a 'choice' to be 'unbounded'. I need unbounded elements, in any sequence. Please help. Thanks
posted 13 years ago
thanks anyway, but in actual fact I asked a silly Q. To do what I needed all I had to do was make the sequence unbounded.