Visualizing the evolution of metrics

ann.jensen
Posts: 240
Joined: Wed Jun 17, 2015 10:19 am

Visualizing the evolution of metrics

Post by ann.jensen » Mon Jul 27, 2020 1:04 pm

Hi,
I have been trying to use the evolution/generateDITATables.xsl stylesheet from https://github.com/oxygenxml/dita-ot-metrics using the sample XML files provided.
I have created a new transformation scenario in Oxygen XML editor of type XSLT that operates on the folder of xml files and applies the xsl url for evolution/generateDITATables.xsl.
When I try to run this transform I get an 'Access is denied' message for each of the 4 xml files. These files are stored in my user account AppData folder.
Any advice appreciated,
Regards,
Ann

Radu
Posts: 7154
Joined: Fri Jul 09, 2004 5:18 pm

Re: Visualizing the evolution of metrics

Post by Radu » Mon Jul 27, 2020 1:16 pm

Hi Ann,

If you look inside the "generateDITATables.xsl" it tries by default to open the XML sample files from a folder named "samples" relative to the XSLT location.

Code: Select all

<xsl:variable name="allReports" select="collection('samples/?select=*.xml')"/>
so if you have created a transformation scenario for the XSLT, the "XSL URL" in it needs to be set to ${currentFileURL}. The XML URL needs to be set also to ${currentFileURL} because it does not matter on what XML content it is applied as the XSLT will load the XML documents on its own, relative to the place where it's located. I think in your case you have set the XML URL field to point to a folder.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Radu
Posts: 7154
Joined: Fri Jul 09, 2004 5:18 pm

Re: Visualizing the evolution of metrics

Post by Radu » Mon Jul 27, 2020 1:26 pm

One more thing, the email address you used to register on this forum seems to be no longer valid.
If you want help with changing it you can write us separately (support@oxygenxml.com).

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

ann.jensen
Posts: 240
Joined: Wed Jun 17, 2015 10:19 am

Re: Visualizing the evolution of metrics

Post by ann.jensen » Tue Jul 28, 2020 2:58 pm

Thank you Radu, that all worked great.
Regards,
Ann

Radu
Posts: 7154
Joined: Fri Jul 09, 2004 5:18 pm

Re: Visualizing the evolution of metrics

Post by Radu » Tue Jul 28, 2020 3:00 pm

Hi Ann,

Great, I'm curious if the evolution report will help you take decisions about the evolution of the project.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply