07-30-2009 01:03 PM
07-30-2009 03:33 PM
The report xml requires a stylesheet that is not getting copied over. If you open you xml in notepad you will see a line something like this at the top:
<?xml-stylesheet type="text/xsl" href="C:\Program Files\National Instruments\TestStand 4.0\Components\NI\Models\TestStandModels\StyleSheets\horizontal.xsl"?>
You need to copy that file to the path specified in the report or edit the report to point to the correct stylesheet. All the stylesheet does if format the report xml for viewing.
07-31-2009 12:49 PM
There is a tool that ships with TestStand that will package your xml reports along with the stylesheets so that they can be viewed on any machine. The tool is called XMLPack and is in the Tools menu as Package XML/HTML Files for Distribution…
See this KnowledgeBase for more information: How Do I View TestStand XML Report Files On Another Machine?
04-27-2010 04:36 PM
Since the stylesheet is specified with an absolute path "C:\Program Files\...",
how come IE couldn't find the stylesheet file when the xml file is open on the network server and yet it was able to find it when open on the local machine?
The file does exist on my local C drive.
04-28-2010 07:19 AM
04-28-2010 08:02 AM
Thanks Josh. In my case, using XMLPack to fix the existing XML files is OK but for the future, I'm going to disable "Store absolute path" for the stylesheet and then copy the stylesheet to the same directory as the XML files on the server.
For a quick fix, do you know the exact IE security setting to enable it to open the local stylesheet file?