LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Leb View

My Board House uses Lab View for their testers and likes to send me Test Reports in XML format.  When I try to open them I get a blank screen.  I have the style sheet in the smae directory as the file I'm opening.  I'm using IE version 9.

 

Anyone know how to fix this problem ?

 

Bill

0 Kudos
Message 1 of 12
(3,389 Views)

Bill,

 

Are you able to provide a sample XML report and the stylesheet?

 

Matthew

0 Kudos
Message 2 of 12
(3,381 Views)

Hi Mat,

 

I tried to attached the files but this system doen't allow attaching xml files.  Maybe these files don't work with Windows 7.

 

Bill

0 Kudos
Message 3 of 12
(3,378 Views)

Try zipping them up.

0 Kudos
Message 4 of 12
(3,376 Views)

Here they are ziped.

0 Kudos
Message 5 of 12
(3,371 Views)

If you look in the first line, they have a syntax error.

 

They have xml:stylesheet.  It should be xml-stylesheet, or possible xsl:stylesheet.  But if they want xsl, they have other syntax problems.

 

Try changing it to xml-stylesheet in the first line and see if it loads up.  If so, they need to make a modification to the software to fix the problem.

0 Kudos
Message 6 of 12
(3,356 Views)

Hi Matt,

 

Thanks for the help.

 

I made the change and now the file opens in IE but it's show as a text file. Not as a web page.

 

I've asked the vendor to send me a text file instead but I will keep working on this problem.

 

Bill

0 Kudos
Message 7 of 12
(3,321 Views)

Bill,

 

Can you zip up the stylesheet he gave you and send it to me.

0 Kudos
Message 8 of 12
(3,319 Views)

Hi Matt,

 

Here it is.  Hey where are you ?  Are you always on this system ?

 

Bill

0 Kudos
Message 9 of 12
(3,314 Views)

Bill,

 

I relaized they were using the TestStand standard stylesheet.  I have TestStand2010 and copied that file.  On my system, I appear to have to change the stylesheet directory to just list the sheet instead of the full path.

 

So, you can copy your stylesheet into the directory listed in the XML file so you won't have to continuously modify the files (although the syntax error is still there), or you'll need to change your stylesheet tag to be

 

<?xml-stylesheet type="text/xsl" href="horizontal.xsl"?>

 

and keep the stylesheet in the same diretcory.

0 Kudos
Message 10 of 12
(3,313 Views)