Customizing the HTML preview

By default, the HTML preview is configured for base DITA. If you are working with your own DITA specializations, or if you merely want to change the visual appearance, you can customize the preview by modifying the available XSL stylesheets.

About this task

An HTML preview is available when you create a hyperlink within the XML authoring environment. You select a target for the hyperlink within an HTML preview of the object that is being edited.

Procedure

  1. Verify that all necessary XSL stylesheets that are used to generate an HTML preview, such as Web\Author\ASP\Preview\html\inforshare.dita2html.shell.xsl, are available on the server. These scripts are DTD-specific.
  2. Ensure that the folders containing these XSL stylesheets are included in your server synchronization configuration.
  3. Start the XML authoring tool on the client computer and make sure that the synchronization takes place.
    When clicking on the Preview button in the Insert Hyperlink dialog, an HTML rendition of the active XML object is generated.