Rendering HTML Elements and New Line Characters in an ATML Test Results 6.01 or 5.0 Report
- Updated2025-07-23
- 2 minute(s) read
Complete the following steps to ensure a report renders HTML elements and new line characters using the TR6_Horizontal.xsl, TR5_Horizontal.xsl, TR6_report.xsl, TR5_report.xsl, TR6_Expand.xsl, or TR5_Expand.xsl files.
- Open the .xsl file you want to change.
- Search for the Customization variables comment.
- 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, as shown for each file type in the following figures:
TR6_Horizontal.xsl or TR5_Horizontal.xsl
TR6_report.xsl or TR5_report.xsl
TR6_Expand.xsl or TR5_Expand.xsl