Elementname: Mark

Description

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

Allowed attributes: append, select

Child elements: (none)

Parent elements: Action

Attributes

append (yes/no, 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.)

select (XPath expression)

The name of the mark to be set.

Example

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

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

Info

Marks get saved for subsequent runs.

See also

Action

Commands

Version: 2.0.0 | Start page | Command reference | Other languages: German