O'Reilly logo

Microsoft Visio 2010 Business Process Diagramming and Validation by David John Parker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Creating rule set reports

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( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required