genhtml

Purpose

Displays the HTML version of an XML report that has already been generated.

Note: When you invoke the Clang-based front end of IBM® XL C/C++ for AIX® 16.1, genhtml is not supported.

Usage

Use the following command to view the existing XML report in HTML format. This command generates the HTML content to standard output.
genhtml xml_file
Use the following command to generate the HTML content into a defined HTML file. You can use a web browser to view the generated HTML file.
genhtml xml_file > target_html_file
Note: The suffix of the HTML file name must be compliant with the static HTML page standard, for example, .html or .htm. Otherwise, the web browser might not be able to open the file.

Related information