Xomega
»
Xomega Generators
»
Documentation
»
How to output repeating content from the model
|
In order to output repeating content from the Xomega model in the generated document, you need to wrap it in a rich text content control in the template and specify XPath for the content as the title and loop as the tag as follows. - Select the part of the document in the MS Word template that needs to be repeated, such as a section or a table row.
- Open the Developer tab. If you don't see it, open the Word Options dialog and check the "Show Developer tab in the Ribbon" check box.
- Click the Aa button to insert a rich text content control.
- Click on the Properties button.
- Enter the XPath that selects the desired list of nodes from the model into the Title field. Use the $ctx variable for the context node, as well as any built-in or custom functions as appropriate.
- Enter loop into the Tag field and click OK.
Below is a picture that illustrates this setup. xomega attached the following image(s):
|
|
|
|
Xomega
»
Xomega Generators
»
Documentation
»
How to output repeating content from the model
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.