The tool cloc has an option to create xml output.
This output can transformed via a short XSLT script into the sloccount format.
Therefore, no changes are required within the sloccount source.
Please, reject this change request!
Would you please upload the xslt script here?
@andrey: I've attached a example for you.
@andrey: I've attached an example for you.
It does not work for me, maybe I use wrong options? What I do is:
Is there an obvious mistake in my usage?
Thanks Andrey, I will give it a try the next days!
Yes indeed, it works very well! Thx
It doesn't appear this works for the current version. I'm using Cloc 1.58 with plugin version 1.8.
I used the same method as the individuals above, and the output is not properly parsed by the sloccount plugin.
Nevermind, I wasn't following the directions properly. Once I used xsltproc this worked as expected. Sorry!