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

Deriving a simple type from a complex type

From: Simon Cox <Simon.Cox@dem.csiro.au>
Date: Mon, 19 Mar 2001 14:59:59 +0800
Message-ID: <3AB5AE6F.B2ED4E15@dem.csiro.au>
To: xmlschema-dev@w3.org
Is it possible to constrain the character content of a 
mixed complex type to be one of the built-in simple types?

e.g.  if I have declared an anyType 
	
  <xsd:complexType name="FooType" mixed="true"/>

can I then derive a type with simple content type="xsd:double" 
by restriction from this?  How?

-- 
Simon.Cox@dem.csiro.au    CSIRO Exploration & Mining
T:08 9284 8443 F:08 9389 1906 C:0403 302 672 (Intl +61)
http://www.ned.dem.csiro.au/research/visualisation/
Received on Monday, 19 March 2001 02:00:10 GMT

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