sqf:activityBase

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
match xs:string . optional
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.
use-when xs:string true() optional
A condition for the action of the activity Element. The action will just be executed, if the condition returns true.
value
XPath expression. It expects as return value an xs:boolean.

Used By

Source

<xs:attributeGroup name="activityBase">
  <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>
  <xs:attribute name="use-when" use="optional" type="xs:string" default="true()">
    <xs:annotation>
      <xs:documentation>A condition for the action of the activity Element. The action will just be executed, if the condition returns true.</xs:documentation>
      <xs:documentation source="value">XPath expression. It expects as return value an xs:boolean.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attributeGroup ref="sch:foreign"/>
</xs:attributeGroup>