Mark

Sets an invisible mark into the output. This is helpful when you want to know on which page the mark is placed on.

Child elements

(none)

Parent elements

Action

Attributes

append (optional)

When yes, append the current page to the previous values of the mark. Useful to get page ranges in an index. (Default is no.)

yes

Append the page number to the previous value of the mark.

no

Replace the previous value.

pdftarget (yes or no, optional, since version 3.3.8)

Set a pdf target that can be referenced by A

select (XPath expression)

The name of the mark to be set.

shiftup (length, optional, since version 4.13.2)

Raise the position of the hyperlink anchor by this amount.

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>

Info

Marks get saved for subsequent runs.

See also

The command <Action> and the section Automatically generated directories.