El Simplecontent
# XML Schema simpleContent Element
* * Complete XML Schema Reference Manual](#)
* * *
## Definition and Usage
The simpleContent element contains an extension or restriction of a complexType element (which has character data or a simpleType element as its content) and does not contain any elements.
### Element Information
* **Parent Element:** complexType
### Syntax
(annotation?,(restriction|extension))
(The ? symbol indicates that the element can appear zero or one time in the simpleContent element.)
| Attribute | Description |
| --- | --- |
| id | Optional. Specifies the unique ID of the element. |
| _any attributes_ | Optional. Specifies any other attributes with non-schema namespaces. |
### Example 1
This is an XML element () that contains only text:
35
The following example declares a complex type "shoesize" whose content is defined as an integer data type and includes a country attribute:
* * *
[![Image 4: XML Schema Reference Manual](http://
YouTip