Repeating Sections

Top Previous Topic Next Topic  Print this topic

Repeating Sections are paragraphs that are repeated for a set of nodes from the source XML.

Example:

 

Steps to insert a Repeating Section:

 

1. A collection of CDs is considered as input XML file.

 

2. To insert a Repeating Section, the Repeating Section button located in the Dynamic Content group under the Insert tab must be selected.

 

3. The Edit Expression dialog will be displayed. The nodes from the XML Tree that will be repeated must be selected (in this example: /catalog/cd).

 

In Design View the document will look like in the picture below:

 

repeating_sections1

 

 

4. The Repeating Section can be customized according to the user's preferences.

Here the user can select the field than will be repeated (for example title, artist, etc.) by dragging it into the purple section and choosing the Field option when dropping.

Also, the desired field can be inserted by selecting the Field button located in the Dynamic Elements group under the Insert tab.

 

Below, the results from Design View and PDF output can be seen.

 

Design View:

 

repeating_sections2

 

PDF:

 

repeating_sections3

 

Note:

In Design View mode Repeating Sections are displayed with a purple background (when the cursor's position is inside the Repeating Section) and with the XPath of the node that creates them.

 

 

For more information:

      Repeating Rows