- From: Michael Kay <mike@saxonica.com>
- Date: Wed, 22 Oct 2008 23:47:00 +0100
- To: "'Stan Kitsis'" <Stan.Kitsis@microsoft.com>, "'Age Bosma'" <agebosma@gmail.com>, <xmlschema-dev@w3.org>
> > If I understand your requirements right, you want > > <xsd:choice minOccurs="1" maxOccurs="unbounded"> > <xsd:element name="platform" type="platformType"/> > <xsd:element name="device" type="deviceType"/> > </xsd:choice> > > Stan Kitsis Or if you want to insist that the platform elements come before the device elements, you have a classic problem with XSD 1.0 (easily solved in 1.1 with assertions). In 1.0 the usual solution is to expand the content model to device+ | (platform+, device*) Michael Kay http://www.saxonica.com/
Received on Wednesday, 22 October 2008 22:47:41 UTC