|Download Help (Windows Only)|
Apply a style sheet to an XML report to specify how a web browser or external viewer application displays the XML content. Use the Style Sheet control on the Contents tab of the Report Options dialog box to select the style sheet to apply to an XML report.
|Note You must have a minimum supported version of Microsoft Internet Explorer or later to view TestStand reports. Refer to the NI TestStand Readme for more information about supported versions of Internet Explorer.|
The <xml-style sheet> node of an XML report contains the URL path of the style sheet to apply to the XML file, as shown in the following example in which the <xml-style sheet> node references the built-in horizontal.xsl TestStand style sheet:
<?xml-style sheet type="text/xsl" href="C:\
Using some foreign characters in the XML report style sheets might result in the error "An invalid character was found in text content." To work around this issue, use the HTML code equivalent for the foreign character or add the appropriate encoding attribute to the <xsl:output> tag of the style sheet.