Action

Associates an action with a text. Once the text is placed on the page, the associated action will be executed. The action can be compared to an invisible character. When the publisher outputs the character, the corresponding instructions will be run.

Child elements

Mark

Parent elements

A, B, Case, Color, Fontface, ForAll, I, Li, Loop, NoBreak, Otherwise, Paragraph, Span, Text, Textblock, U, URL, Until, While

Attributes

(none)

Example

<Pageformat width="210mm" height="4cm"/>

<Record element="data">
  <PlaceObject>
    <Textblock>
      <Paragraph>
        <Value>
          Row
          Row
          Row
          Row
        </Value>
      </Paragraph>
    </Textblock>
    <Textblock>
      <Action>
        <Mark select="'textstart'"/>
      </Action>
      <Paragraph>
        <Value>
          Row
          Row
          Row
        </Value>
      </Paragraph>
    </Textblock>
  </PlaceObject>
  <ClearPage/>
  <Message select="sd:pagenumber('textstart')"></Message>
</Record>

See also

The command <Mark> and the section Automatically generated directories