12-02-2022 08:08 AM
Does anybody have a stylesheet that can be used to transform TestStand XML reports into HTML using the .NET framework (System.xml)?
The provided stylesheet (C:\Users\Public\Documents\National Instruments\TestStand 2019 (32-bit)\Components\Models\TestStandModels\StyleSheets\horizontal.xsl) only works with MSXML.
12-14-2022 04:33 PM
I've noted a similar problem with TestStand 2021. We've long used XslCompiledTransform.Transform() to generate HTML reports from the XML reports. After migrating from TS2014 to 2021 this fails with a "function expected" error.
The original TR5_report.xsl stylesheet from TS2014 continues to work with a 2021-generated XML report.
I note that in TS 2021, there is a Generate HTML feature built-in that works well. I'm not sure if that is available in TS2019. If not, perhaps consider using an older stylesheet.
03-12-2023 08:54 AM
Is it like this?
I just saw this problem. This is a simple conversion tool I wrote last year. It can display the conversion results in real time and output html files synchronously.
The exported file can be opened directly using the browser.