RE: Element containing a list of IDs

And finally, the solution...

    <element name='exporteditems' minOccurs='0' maxOccurs='1'>
     <complexType>
      <sequence>
       <element name='endids' minOccurs='0' maxOccurs='1'>
         <simpleType>
           <list itemType='ID'/>
         </simpleType>
       </element>
       <element name='linkids' minOccurs='0' maxOccurs='1'>
         <simpleType>
           <list itemType='ID'/>
         </simpleType>
       </element>
      </sequence>
     </complexType>
    </element>

My problem was that I didn't need the <restriction>. Obvious now - as always
once solved!

Thanks to Don and Henry for helping me with this trivial problem :#) I'm now
in a better position to sort things like this out myself in future.

Mark
--
Mark Hughes
  Agile HTML Editor
    http://www.agilic.com
 

Received on Tuesday, 2 January 2001 05:08:00 UTC