NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Update XML Report Header with Array Values from Process Model

Solved!
Go to solution

Using the Get and Add Steps shown here to add some StationGlobal Containers to the XML report. 

TestStandSteps.PNG

 

Then made modifications to the horizontal.xsl to show the new values.

Report.PNG

 

All was well until I tried to display the Cable info which is a container of three arrays.  Finding the correct xsl to parse the way the array is stored in the xml is throwing me for a loop.  Attached is a scaled down example.

 

how the xml is stored...

xml.PNG

 

 

my best attempt to parse it...it loops twice but displays the same results

xsl.PNG

 

Any thoughts...

 

Thanks

 

Kevin

0 Kudos
Message 1 of 2
(2,932 Views)
Solution
Accepted by topic author kwkengineer

Kevin -

 

I have attached updated copies of your XML and XSL files. Please take a look and see if this accomplishes your goal. Let me know if it doesn't or if you have any questions regarding the changes.

 

Hope this helps.

Manooch H.
National Instruments
0 Kudos
Message 2 of 2
(2,892 Views)