08-08-2010 08:51 AM
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
Solved! Go to Solution.
08-09-2010 10:48 AM
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