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
Attributes
pdftarget(yes or no, optional)- Set a pdf target that can be referenced by A
select(XPath expressions)- The name of the mark to be set.
Example
<PageFormat width="210mm" height="4cm"/>
<Record match="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:page-number('textstart')"></Message>
</Record>Info
Marks get saved for subsequent runs.
See also
- Commands: Action, Bookmark
- Manual: PDF Options: Page destinations, XPath Functions: Page and position