xs:include

Element Information

Model

Children: xs:annotation

Attributes

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

Used By

Element xs:schema

Source

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

Sample