RE: Multi-selection drop-down list

Sorry, I meant to say 
I have a need to be able to select one or more values from one drop-down
list.
 
-----Original Message-----
From: Rick Aridi [mailto:jirata@attbi.com] 
Sent: Wednesday, October 09, 2002 1:18 PM
To: 'xmlschema-dev@w3.org'
Cc: 'taridi@cmguc.com'
Subject: Multi-selection drop-down list
 
I have a need to be able to select one or value from one drop-down list:
Extract from sample schema definition:
 
    <xs:element name="ComnAttr">
          <xs:complexType>
                <xs:sequence>
                       <xs:element name="CnfgGrp" type="GrpList"
default="General"/>
                </xs:sequence>
          </xs:complexType>
    </xs:element>
    <xs:simpleType name="GrpList">
          <xs:restriction base="xs:string">
                <xs:enumeration value="LDAP"/>
                <xs:enumeration value="IMAP"/>
                <xs:enumeration value="iPlanet"/>
                <xs:enumeration value="Mirapoint"/>
                <xs:enumeration value="Notification"/>
                <xs:enumeration value="General"/>
                <xs:enumeration value="Logging"/>
                <xs:enumeration value=""/>
          </xs:restriction>
    </xs:simpleType>
 
Desired XML CnfgGrp possible value selection:.
 
<CnfgGrp>LDAP IMAP iPlanet</CnfgGrp>
 
Is there a way to define this in the schema definition?
 
Thanks,
Rick Aridi

Received on Wednesday, 9 October 2002 13:37:36 UTC