> At present, when defining complex types with simple content, > the schema REC requires a separate named type definition as the > basis for the complex type definition Maybe I'm missing something, but can't you avoid this by doing something like this <xs:element name="foo"> <xs:complexType> <xs:simpleContent> <xs:restriction base="xs:anyType"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="8"/> </xs:restriction> </xs:simpleType> <xs:attribute name="bar"/> </xs:restriction> </xs:simpleContent> </xs:complexType> </xs:element> ? JamesReceived on Thursday, 27 June 2002 22:42:30 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:30 GMT