match

The<icode type="attribute">match</icode>attribute defines anchor nodes for an activity element.

For each selected anchor node, the command of the activity element will be executed. For each execution, the context will be set to the anchor node.

Exception: The<icode type="attribute">match</icode>attribute of the<a ref="#sqf_stringReplace">
  <icode type="element">sqf:stringReplace</icode>
</a>element should only select text nodes.

Value
XPath expression. The context of relative expressions is the context of the related Schematron rule.

Default
By default the anchor node is the context node of the related Schematron rule.

Attribute Information

Used By

Attribute Group sqf:activityBase

Source

<xs:attribute name="match" type="xs:string" default=".">
  <xs:annotation>
    <xs:documentation>The
      <icode type="attribute">match</icode>attribute defines anchor nodes for an activity element.</xs:documentation>
    <xs:documentation>For each selected anchor node, the command of the activity element will be executed. For each execution, the context will be set to the anchor node.</xs:documentation>
    <xs:documentation>Exception: The
      <icode type="attribute">match</icode>attribute of the
      <a ref="#sqf_stringReplace">
        <icode type="element">sqf:stringReplace</icode>
      </a>element should only select text nodes.</xs:documentation>
    <xs:documentation source="Value">XPath expression. The context of relative expressions is the context of the related Schematron rule.</xs:documentation>
    <xs:documentation source="Default">By default the anchor node is the context node of the related Schematron rule.</xs:documentation>
  </xs:annotation>
</xs:attribute>

Sample