xs:import

Element Information

Model

Children: xs:annotation

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
namespace xs:anyURI optional
schemaLocation xs:anyURI optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Element xs:schema

Source

<xs:element name="import" id="import">
  <xs:annotation>
    <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:attribute name="namespace" type="xs:anyURI"/>
        <xs:attribute name="schemaLocation" type="xs:anyURI"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample