NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

XML report missing style sheet location

Solved!
Go to solution

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

 

0 Kudos
Message 1 of 3
(2,929 Views)

Maybe you missed your reference xsl file

0 Kudos
Message 2 of 3
(2,927 Views)
Solution
Accepted by topic author D.Barr

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 

 

 

 

 

0 Kudos
Message 3 of 3
(2,922 Views)