MakeHTMLDocument.dss

This script is always called when an HTML document is produced by KCM ComposerUI. By default this script uses the Microsoft XSLT transformation tool with a sample XSLT sheet to generate the HTML. We recommend that users change this script to use a custom XSLT sheet and add additional functionality to the document production if required.

Parameters

The script is called with the following parameters:

  • Document: The file path of the input document. This is in the AiaDocXML format.

  • HTMLResult: The name of the resulting HTML document. The script must either produce this file or throw an error.

  • IsFinalResult: Indicates if this is the final result document (True) or a preview document (False).

  • Environment: The environment that is used to produce the document.

  • Master Template: The Master Template that produced the document.

  • UserID: The user name of the browsing user.

  • ApplicationID: The name of the KCM ComposerUI application.

  • ProcessParams: The content of the pvw_proc_params (if IsFinalResult=False) or the res_proc_params (if IsFinalResult=True) that is passed to the runmodel call if any.