W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2002

RE: Multi-selection drop-down list

From: Tarek Aridi <tarek.aridi@cmg.com>
Date: Wed, 9 Oct 2002 13:26:35 -0400 (EDT)
Message-ID: <4DFD1EC3A4D2D5118D2C00508B8B461EBECEB2@US-GLA-MAIL01>
To: "'jirata@attbi.com'" <jirata@attbi.com>, "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Cc: "'taridi@cmguc.com'" <taridi@cmguc.com>
Sorry, I meant to say 
I have a need to be able to select one or more values from one drop-down
-----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:element name="CnfgGrp" type="GrpList"
    <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=""/>
Desired XML CnfgGrp possible value selection:.
<CnfgGrp>LDAP IMAP iPlanet</CnfgGrp>
Is there a way to define this in the schema definition?
Rick Aridi
Received on Wednesday, 9 October 2002 13:37:36 UTC

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