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

Re: XML Schema Question

From: Stefan Wachter <Stefan.Wachter@gmx.de>
Date: Thu, 28 Nov 2002 09:16:47 +0100 (MET)
To: Chris Evans <CEvans@confluence.com>
Cc: xmlschema-dev@w3.org
Message-ID: <22339.1038471407@www42.gmx.net>

Use an enumeration of QNames:

<simpleType name="xxx">
  <restriction base="QName">
      <enumeration value="xs:string"/>
      <enumeration value="xs:double"/>

> I want to create a string Simple Type thats value must be the string name
> of
> a Simple Type (preferably allowing for user-defined SimpleTypes).  For
> example the simple type would only allow "xs:date", "xs:time", etc.
> Can it be done?
Received on Thursday, 28 November 2002 03:17:21 GMT

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