Creating rule set reports
It is a relatively simple operation to use System.Xml.Xsl
and System.Xml.XPath
to iterate through the elements in the XDocument
created by the getXDocument()
method. The result is an HTML page that can be displayed in any browser.
The ReportDocument()
method prompts for the name of an HTML document to output to.
public void ReportDocument(bool includeRulesets, bool includeIssues) { try rules setsreports, creating{ string title = ""; if (includeRulesets) title += "RuleSets"; if (includeRulesets && includeIssues) title += " and "; if (includeIssues) title += "Issues"; string shortName = System.IO.Path.GetFileNameWithoutExtension( ...
Get Microsoft Visio 2010 Business Process Diagramming and Validation now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.