Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How to output simple content from the model
xomega
#1 Posted : Monday, October 7, 2013 6:44:13 PM(UTC)
xomega



In order to output simple content from the Xomega model in the generated document you need to add a text content control to the appropriate place in the template and specify XPath for the content as the title and val as the tag as follows.
  1. Type in some placeholder text in the MS Word template where the generated content will be output.
  2. 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.
  3. Select the placeholder text and click the Aa button to insert a plain text content control.
  4. Click on the Properties button.
  5. Enter the XPath that selects the simple content 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.
  6. Enter val into the Tag field and click OK.
Below is a picture that illustrates this setup.
Simple Content Properties
xomega attached the following image(s):
xomega attached the following image(s): DocSimpleContent.png
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.