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

extending enumeration ?

From: Evyatar Kafkafi <Evyatar@orsus.com>
Date: Sun, 25 Aug 2002 08:39:40 +0300
Message-ID: <B17109C0B09CF8409145E629B64EF4FB7386CE@hermes.il.orsus.org>
To: <xmlschema-dev@w3.org>

Hi,

In schema with restriction of enumeration:

		<xsd:simpleType>
			<xsd:restriction base="xsd:string">
				<xsd:enumeration value="High"/>
				<xsd:enumeration value="Medium"/>
			</xsd:restriction>
		</xsd:simpleType>

If I want to state that the list is as specified but can also add other values, is there a way to state that ?

TIA,
	Evyatar
Received on Sunday, 25 August 2002 01:39:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT