11-12-2018 08:41 AM
Hi all,
I'm working on report generation.
I like XML report format (horizontal stylesheet). But this file can only be opened in IE.
I try to generate an HTML file from XML with XSL file but without succes :
I use .NET framework (XslCompiledTransform) or MSXML ActiveX. But both ones generate a transformation error.
How can I do? Does it exist some examples?
Thanks for your help.
11-13-2018 04:21 AM
Hello Maxmont,
Which version of TestStand do you use?
Do you get an error when going on:
Configure > Result processing > Report options (Tools icon on right)
and choosing XML Document in Report Format using expand.xsl style sheet?
Cheers,
Armando
11-13-2018 04:42 AM
Hi,
I'm using TestStand 2017. And XML report generation is working, no problem with that.
But XML report can only be viewed with IE and it requires XSL file on computer , so quite constraining.
That's why I would like to generate HTML file from XML with XSL in automatic process.
But I don't see how I can do...
11-13-2018 08:45 AM
I've used MSXSL to convert TestStand reports to HTML with no issues - can you post the report and stylesheet that isn't working?
You also might want to kudo & follow this idea:
https://forums.ni.com/t5/NI-TestStand-Idea-Exchange/PDF-report-generator-for-teststand/idi-p/1617562
Thanks,
Trent
11-13-2018 09:41 AM
I've managed to write a javascript which uses MSXML ActiveX and it's working.
If I use expand stylesheet, HTML file used some image file stored in "C:/Program Files (x86)/National Instruments/TestStand 2017/Components/Models/TestStandModels/StyleSheets/"
Doesn't it exist a deployment tool to install this resources on all PC?
Thanks for your help
11-13-2018
09:52 AM
- last edited on
10-21-2024
02:15 PM
by
Content Cleaner
This is probably what you need:
https://www.ni.com/docs/en-US/bundle/teststand/page/xml-packaging-utility.html
If you use the packaging utility, you don't really need to convert it to HTML.
11-13-2018 10:37 AM
Yes it may be what I want.
If I don't want to use IE, I have to convert in HTML (chrome doesn't manage XML tranformation thought xsl).
Thanks
11-13-2018 10:51 AM
Another question on XML report generation.
I'd like to remove Sequence call log (with result and identation) without removing log on the sub sequences.
How can I do that (by XSL, by TS, by XML)?
11-13-2018 12:02 PM
You'll need to modify the stylesheet. There are a few relevant threads about this already:
11-14-2018 10:14 AM
I'm customizing standard xsl file for my need. And it's not so simple.
I'd like to modify the order of result in the report.
I have results with their limits and after the additional results.
I'd like to have additional results before results limit test.
Is it possible?
Thanks for your help