In this article you will learn to select a different element for the text to repeat for, change the separators used or select Dynamic Values to create a more complex XPath Expression.
- Open a Publisher template with a repeating text section.
- Navigate to the “Edit Repeating Text” dialog. It can be accessed in multiple ways.
a. From the Design Surface, right click on the repeating text section that you modify data for and select the “Edit Repeating Text” option from the contextual menu.
b. Select the “Edit” button available in the “Repeating Tools” tab, in the Ribbon. Note that the “Repeating Tools” tab is available only when you select a repeating text in the Design Surface.
c. Enable the “Navigation” pane from the View Tab. Select the “Settings” button, next to the repeating paragraph section highlighted in blue and select “Edit Repeating Text”.
- From the “Edit Repeating Text” dialog you can change the element in the data source for the text to repeat for or select “Create Expression” to create more complex XPath Expressions. Once you have made the needed changes, select “Save”.
- Switch to the “Print View” mode to preview the output.