XML Schema import Element
Complete XML Schema Reference Manual
Definition and Usage
The import element is used to add multiple schemas with different target namespaces to a document.
Element Information
- Parent elements: schema
Syntax
id=ID namespace=anyURI schemaLocation=anyURI any attributes (annotation?) (The ? symbol declares that the element can occur zero or one time in the import element.) The following example shows importing a namespace: .. .. ..
property
Description
id
Optional. Specifies a unique ID for the element.
namespace
Required. Specifies the URI of the namespace to import.
schemaLocation
Optional. Specifies the URI of the namespace to be imported.
any attributes
Optional. Specifies any other attributes with a non-schema namespace.
Example 1
Complete XML Schema Reference Manual