NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

style sheets xml teststand 3.5

Solved!
Go to solution

back in 2008 I ran some tests using TestStand 3.5 and LabVIEW 7.1

I am now running TestStand 4.2.1; but need to review an old report

when I try to open the xml report - I get an error:      

"Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later".

I believe that the style sheet can not be located. Are these style sheets available for past versions of Teststand? and maybe some simple instructions on where it should be located in the file directory so everything plays nice.

 

thanx

lmd2

Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 1 of 2
(3,233 Views)
Solution
Accepted by topic author lmd2

Hey Lawrence,

 

It sounds like the XML files were created with an absolute path for the stylesheet. If you just copied the XML files without first packaging them for distribution, that might be what the issue is.

 

If you have access to the original system, you could package the XML files for redistribution using the stand alone tool XML Pack.exe, also available via the Tools menu (Package XML/HTML Files for Distribution...).

 

Alternatively, you could edit your XML files to point to the stylesheet that you do have on your system.

 

The first line of the XML file will have the location of the style sheet in it - you could edit that path to point at the stylesheets provide with TestStand v4.2.

 

Example: <?xml version="1.0" encoding="iso-8859-1" ?><?xml-stylesheet type="text/xsl" href="C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2\Components\Models\LMModels\StyleSheets\expand.xsl"?>

 

Hope this helps.

 

-Jack

Message 2 of 2
(3,211 Views)