Schema El Include
# XML Schema include Element
* * Complete XML Schema Reference](#)
* * *
## Definition and Usage
The include element is used to add multiple schemas with the same target namespace to a document.
### Element Information
* **Parent element:** schema
### Syntax
(annotation?)
(The ? symbol declares that in the include element, this element can appear zero or one time.)
| Attribute | Description |
| --- | --- |
| id | Optional. Specifies a unique ID for the element. |
| schemaLocation | Required. Specifies the URI of the schema to be included within the target namespace of the containing schema. |
| any attributes | Optional. Specifies any other attributes with non-schema namespaces. |
### Example 1
Through the included schema, the included files must all reference the same target namespace. If the schema target namespaces do not match, the include will not be valid:
..
..
..
* * *
[![Image 4: XML Schema Reference](
YouTip