El Complexcontent
# XML Schema complexContent Element
* * Complete XML Schema Reference Manual](#)
* * *
## Definition and Usage
The complexContent element defines extensions or restrictions on a complex type (containing mixed content or elements only).
### Element Information
* **Parent Element:** complexType
### Syntax
```xml
(annotation?,(restriction|extension))
(The `?` symbol indicates that the element can appear zero or one time within the complexContent element.)
| Attribute | Description |
| --- | --- |
| id | Optional. Specifies the unique ID of this element. |
| mixed | Optional. Specifies whether character data is allowed between the child elements of this complexType element. The default value is false. |
| any attributes | Optional. Specifies any other attributes with non-schema namespaces. |
### Example 1
In the following example, there is a complex type named "fullpersoninfo," which is derived from another complex type called "personinfo" by extending it with three additional elements:
```xml
YouTip