Re-generate HTML from Modified XML

Re-generate HTML from Modified XML

Hi there,

I have written a tool similar to that found here: http://basildoncoder.com/blog/2008/02/20/reporting-on-ncover-exclusions/

The tool runs AFTER NCoverExplorer.Console has generated the XML and HTML coverage report.

The addition of the extra attributes to the XML goes through fine, and the XSL has been updated to pull the attribute values into the HTML report, but the report is generated BEFORE the extra attributes are added.

My question: Is there a way to get NCover or NCoverExplorer to re-generate the HTML file from this modified XML? I would prefer that this conversion be automated.

Thanks!
~Sam.


RE: Re-generate HTML from Modified XML

I'm not sure that I fully understand what you're trying to do. It sounds like you're running NCover and then NCoverExplorer.Console to generate an XML report and an HTML report, then tweaking the XML report a bit and wanting to regenerate the HTML report?

If that's the case, you may want to look at the //xslt flag for NCover.Reporting (http://docs.ncover.com/ref/3-0/ncover-reporting/command-line/coverage-options#xslt) to tweak your reports.

We actually don't recommend using NCoverExplorer.Console anymore, but instead the newer NCover.Reporting. NCover.Reporting has quite a few more features, and NCoverExplorer.Console will go away at some point in the future.