sch:extends

Abstract rules are named lists of assertions without a context expression.
The current rule uses all the assertions from the abstract rule it extends.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
rule xs:IDREF required
The required rule attribute references an abstract rule.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://purl.oclc.org/dsdl/schematron'

Source

<xs:element name="extends">
  <xs:annotation>
    <xs:documentation>Abstract rules are named lists of assertions without a context expression. The current rule uses all the assertions from the abstract rule it extends.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="rule" use="required" type="xs:IDREF">
      <xs:annotation>
        <xs:documentation>The required rule attribute references an abstract rule.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="sch:foreign-empty"/>
  </xs:complexType>
</xs:element>

Sample