Complete the following steps to ensure a report renders HTML elements and new line characters using the horizontal.xsl, report.xsl, or expand.xsl files.

  1. Open the .xsl file you want to change.
  2. Search for the Customization variables comment.
  3. Search for the gDisplayNewLineAndHTMLElementInStringProperty variable and change the value of the select attribute from "false" to "true", which results in the following line of code:
    <xsl:variable name="gDisplayNewLineAndHTMLElementInStringProperty"select="true()"/>

For example, if you create a local string variable named StringContainingHTMLElementAndNewLine and specify Locals.StringContainingHTMLElementAndNewLine="<b>Hello\n\World</b>" in the TestStand expression, executing the sequence file generates a modified report.

horizontal.xsl

The following figure shows the modified report using horizontal.xsl:

report.xsl

The following figure shows the modified report using report.xsl:

expand.xsl

The following figure shows the modified report using expand.xsl: