Deriving a simple type from a complex type

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 UTC