- From: Sam Carleton <sam@linux-info.net>
- Date: Fri, 14 Mar 2003 06:31:56 -0500
- To: xmlschema-dev <xmlschema-dev@w3.org>
I am trying to define a element that contains text and can
optionally contain one or more <b> elements and/or <i> elements in
any order. How do I define that? This is what I have so far:
<xs:complexType name="stringType" mixed="true">
<xs:all minOccurs="0">
<xs:element ref="b"/>
<xs:element ref="i"/>
</xs:all>
</xs:complexType>
<xs:element name="i" type="xs:string"/>
<xs:element name="b" type="xs:string"/>
Sam
Received on Friday, 14 March 2003 06:31:58 UTC