Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Right-click the <unmapped element> in the output structure and select the User XSL option from the shortcut menu as shown in Figure 1.
    Image Removed
    Image Added
    Figure 1: Selecting the User XSL option from the context menu
     
  2. A dialog box appears which contains the xslt script. The xslt script displayed in this dialog box is partially editable. The editable regions, are marked by comments <!--User code starts here-->_ and _<!--User code ends here--> at the beginning and ending respectively.
    Image Removed
    Image Added
    Figure 2: Editing the user xsl

    XSL snippets can be added in the following four places:

    1. just above <element>
    2. just below <element>
    3. just above </element>
    4. just below </element>
  3. Add the required if code snippet in these regions.
  4. Click the OK button and the User XSL is saved for the element. It is denoted by the  icon next to the element/node in the structure.


    Figure 3: Node with User XSL defined
     

  5. The XSL can be tested it using Test option as described in the Testing the Transformation section.
     

...

Adaptavist ThemeBuilder EngineAtlassian Confluence