Viewing and Generating Analysis Reports

You can generate a customized HTML report of Auto Gun Search and Weld analysis results.

Note:

Previously the original report design was based on:

  • XML extract: contains the main information.
  • A specific XSL style sheet for each type of scenario: used to generate an html.
  • A css folder shared between reports that contained:
    • DrawCanvas.js: specific javascript to parse the XML and generate the pie display.
    • Excanvas.js: pie display javascript.
    • WeldAnalysis.css: for style in the html.

The Internet Explorer originally is the design tool, but now deprecated, and support has ended June 2022. Since 2020, default XML files processed with style sheets do not allow them to open by default for security reasons. To allow the opening and viewing of the reports, each browser has dedicated settings.

  • Google Chrome: use the option --allow-file-access-from-files. Example: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --allow-file-access-from-files <XML file path and name>.
  • Microsoft Edge: use the option --allow-file-access-from-files. Example: "C:\Program Files (x86)\Google\Chrome\Application\msedge.exe" --allow-file-access-from-files <XML file path and name>.
  • Mozilla Firefox: Firefox has different security settings that the recommendation is to use a python server.
    • Type in the browser about:config.
    • Search for security.fileuri.strict_origin_policy and specify it to false.
    • Start a python server. Example: python.exe -m http.server. From there, you are able to open the XML file with XSL processing.
    For more information, check each browser for XML file processing.

Now with the latest web browser technology you can:
  • Generate a web report.
  • Integrate capabilities report like resource clearances.
  • Provide by default capabilities to view the report in current internet browsers (Edge/Chrome/Mozilla) without having to specify specific options as noted above.
The limitations for this new web browser technology:
  • Given the limitations of the previous architecture, removed the previous files (css/xsl/js).
  • Does not support the previous report generated given the new XML format has a simplified and lighter format.
  • Does not allow the html page to load if it is accessing XML files on the disk, per the default security on modern internet browsers. Lifting this limitation is based on specific browser options setup.

This task shows you how to:


Before you begin: This scenario assumes that you have successfully run the simulation for an Auto Gun Search or Weld analysis and obtained the results.
See Also
In Other Guides
Selecting Multiple Tools for Feasibility Analysis
Analyzing Targets