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

Mixed content and simpleType

From: Bruno Chatel <bcha@chadocs.com>
Date: Thu, 11 Jan 2001 17:19:21 +0100
Message-ID: <0b5e01c07bea$46b47850$0600a8c0@chafou>
To: <xmlschema-dev@w3.org>
Cc: <bcha@chadocs.com>
Hello,

If i  use mixed content in a Schema : 
<xsd:complexType name="cType" mixed="true">
  <xsd:choice  minOccurs="0" maxOccurs="unbounded">
     <xsd:element ref="e1"/>
     <xsd:element ref="e2"/>
   </xsd:choice>
 </xsd:complexType>

It means that I may have some content and 
elements e1 and/or e2  in my element of type cType. 
It seems that there is no more informations on the 
content type. 

Is there a way to design that the content in cType has
a type (simpleType) ? 
Is there a default type ? xsd:string ? A way to apply facets on
it ?

thanks in advance

-- bruno--
----------------------------------------
Bruno Chatel
Tel : (+33)[0] 4 96 11 14 57
Email : bcha@chadocs.com
http://www.chadocs.com
----------------------------------------
Received on Thursday, 11 January 2001 11:10:38 GMT

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