HTML Preview Configuration

Modify the Web.config file parameters noted below to configure or customize the configuration of the HTML preview.

The file is located on the Content Manager server: \Infoshare\Web\Author\ASP\Web.config.

Preview configuration

The configuration is contained by the "preview" element.

<configuration>
  ...
  <trisoft.infoshare.xapi>
    <preview>
      <solutions>
        <add>
          <dtds>
            <add publicid="-//OASIS//DTD DITA Map//EN" />
            <add publicid="-//OASIS//DTD DITA BookMap//EN" />
          </dtds>
          <stylesheets>
            <add location="c:\InfoShare\Web\Author\ASP\ClientConfig\Filters\Dita11ToDita12.xsl" keepDoctype="true" />
          </stylesheets>
        </add>
      </solutions>
      <stylesheets>
        <add location="c:\InfoShare\Web\Author\ASP\Preview\html\infoshare.dita2htm.shell.xsl" keepDoctype="false" />
      </stylesheets>
    </preview>
    ...
  </trisoft.infoshare.xapi>
  ...
</configuration>
solutions
Solutions are used to wrap XSL transformations which are restricted to a set of document types by specifying the public ID.
DTDs
DTDs are contained by a solution and contain the definition of which public IDs are valid for a certain transformation.
publicid
Public id of the document type.
stylesheets
Stylesheets define a list of stylesheets (XSLT's) which need to be executed. The transformations are executed in the sequence they are provided.
location
Location of the stylesheet (XSLT).
keepDoctype
If this is set to true the doctype will be restored after the transformation is performed. This to enable following transformation to resolve for example fixed attributes. By default this attribute is set to false.