sch:active

Defines the pattern that is active in the current phase.

Element Information

Model

((ANY element from ANY namespace OTHER than 'http://purl.oclc.org/dsdl/schematron' | ANY element from LOCAL namespace 'No Namespace')) | sch:dir | sch:emph | sch:span

Attributes

QName Type Fixed Default Use Inheritable Annotation
pattern xs:IDREF required
The required pattern attribute is a reference to a pattern that is
active in the current phase.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://purl.oclc.org/dsdl/schematron'

Used By

Element sch:phase

Source

<xs:element name="active">
  <xs:annotation>
    <xs:documentation>Defines the pattern that is active in the current phase.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="sch:foreign"/>
      <xs:element ref="sch:dir"/>
      <xs:element ref="sch:emph"/>
      <xs:element ref="sch:span"/>
    </xs:choice>
    <xs:attribute name="pattern" use="required" type="xs:IDREF">
      <xs:annotation>
        <xs:documentation>The required pattern attribute is a reference to a pattern that is active in the current phase.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="sch:foreign"/>
  </xs:complexType>
</xs:element>

Sample