# 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 (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.

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

- A
- Action
- AddToList
- AtPageCreation
- AtPageShipout
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Contents
- Copy-of
- DefineColor
- DefineFontfamily
- DefineTextformat
- Element
- EmptyLine
- Fontface
- ForAll
- Frame
- Grid
- Group
- HSpace
- Hyphenation
- I
- Image
- Include
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- NoBreak
- Ol
- Options
- Otherwise
- Output
- Overlay
- PDFOptions
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- Position
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- Sequence
- SetGrid
- SetVariable
- SortSequence
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 2.6.1 | Start page | Command reference | Other language: German