Customizing XSLT

With XSL stylesheet overrides, the user can change the structure of the different pages. To do so, we recommend to create a folder XSLT, that contains the following XSLT files:

  • html.xsl, describes the general structure of the HTML pages.

  • modellist.xsl, is applied to the XML, where the modellist structure of the Models directory is shown. This stylesheet produces the list of folders as well as the list of models that belong to a certain folder

  • error.xsl. Applied to the XML that contains the error returned from the API. It produces an error page.

  • interact.xsl, produces the HTML FORMS in which the user can fill in the questions as they have been defined in the KCM Model. This XSL is applied to the xForms XML that is returned by the Start and Continue method.

The defaults for these XSL stylesheets can be found in the "xslt" subdirectory of the KCM ComposerUI installation. When overriding them, they should be placed in an "xslt" subdirectory inside the application directory.

XSL stylesheets can only be adapted by specialists experienced in writing XSL stylesheets. Furthermore, the KCM ComposerUI stylesheets will be updated in future updates of KCM ComposerUI. As a result, you may need to update your own stylesheet, or create a new custom stylesheet.