12-19-2011 05:46 AM
Hi all
I am having a issue regarding XML report generated by TestStand. I am using a custom style based heavy off NI example style sheet horizontal.xsl. The report generation works correctly on my development system however when the sequence is deployed onto runtime machine the header to the XML report is missing the style sheet location. i.e:
<?xml version="1.0" encoding="ISO-8859-1"?>
Rather than:
<?xml version="1.0" encoding="ISO-8859-1"?><?xml-stylesheet type="text/xsl" href="G:\Test\ATE4000_Production_Test_Results\T6MK6\Style_Sheets\T6MK6_PAS_Test_Sheet.xsl"?>
If anyone has any idea what might be causing this issues i would be very greatful for any advice.
Many Thank
D.Barr
Solved! Go to Solution.
12-19-2011 07:01 AM
Maybe you missed your reference xsl file
12-19-2011 08:00 AM
Thanks for the reply.
I found the issue. I was determining the location of the style sheet using a registery key. The registry key contained double slashes which resulted in the style sheet not being found. I.e.. C:\\Test\\T6MK6_PAS_Test_Sheet.xsl. With single slashes the program worked as excepted.
Thanks again
D.Barr