sch:extends

<p>This element allows you to include components from another Schematron module.</p>
<p>The required
  <code>href</code>attribute references an external Schematron document. The result is the inclusion of the top-level components from the referred Schematron document into the current document.</p>
<p>WARNING: This element is experimental and it isn't included in
  <a href="http://www.schematron.com/spec.html">ISO Schematron</a>standard.</p>

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
href sch:uriValue required
References an external well-formed XML document.

Used By

Element sch:schema

Source

<xs:element name="extends">
  <xs:annotation>
    <xs:documentation>
      <p>This element allows you to include components from another Schematron module.</p>
      <p>The required
        <code>href</code>attribute references an external Schematron document. The result is the inclusion of the top-level components from the referred Schematron document into the current document.</p>
      <p>WARNING: This element is experimental and it isn't included in
        <a href="http://www.schematron.com/spec.html">ISO Schematron</a>standard.</p>
    </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="href" use="required" type="sch:uriValue">
      <xs:annotation>
        <xs:documentation>References an external well-formed XML document.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample