Problem: Current version 1.0 does not allow you to control format/position/count of text nodes in mixed content (i.e. <complexType mixed="true"/>. Solution: Allow <simpleContent> element to be a child of <sequence>. When included as a child of <sequence>, the child <extension> element value and attributes should be ignored. Only the <restriction> child element should be processed. "minOccurs, "maxOccurs", and "type" attributes should be allowed to be specified <simpleContent> element. Usage: Example 1. <complexType> <sequence> <simpleContent minOccurs="0" maxOccurs="unbounded"> <restriction base="integer"> </restriction> </simpleContent> <element name="p" type="target:PType" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> Example 2. <complexType> <sequence> <simpleContent type="integer" minOccurs="0" maxOccurs="unbounded"/> <element name="p" type="target:PType" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> Regards, spencer_leon@yahoo.comReceived on Wednesday, 8 January 2003 08:31:38 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:31 GMT