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

RE: Element containing a list of IDs

From: <MarkH@i2.co.uk>
Date: Tue, 2 Jan 2001 10:01:12 -0000
Message-ID: <1E73B637CFC3D411A12F00B0D0795DDD0B1D8E@uknts40exh01.i2.co.uk>
To: xmlschema-dev@w3.org
Cc: donmullen@tibco.com, ht@cogsci.ed.ac.uk
And finally, the solution...

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

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 Hughes
  Agile HTML Editor
Received on Tuesday, 2 January 2001 05:08:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:50 UTC