here is my complexType element from schema
Expand|Select|Wrap|Line Numbers
- <xsd:element name="author">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute type="xsd:string" name="gender" use="required"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
Expand|Select|Wrap|Line Numbers
- <xsd:element name="original_title">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="3"/>
- <xsd:maxLength value="22"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>