Introduction 1-7
items that were not generated by forced conversion see Forced Conversions
on page 1-4. The default cache expiration period is seven days.
The cache expiration setting works in conjunction with the cache interval see Cache
Interval on page 1-6, which controls the frequency with which the cache is evaluated.
For example, if the cache interval is set to 14 days and the cache expiration period is set to 8 days, then the cache will be evaluated every 14 days and all cached items older
than 8 days will be deleted unless they were the result of forced conversion.
1.9 Special Conversions
Dynamic Converter supports the following special conversions:
■
Conversion of HTML Forms to HTML
■
Conversion of XML to HTML
■
Rendering Paragraphs as Graphics
1.9.1 Conversion of HTML Forms to HTML
Dynamic Converter supports the conversion of HTML forms into HTML. This allows information supplied through HTML forms to be presented in flexible ways.
For example, the HTML form used to enter data might look something like this:
Figure 1–2 Data Entry Form
This HTML form, together with the values entered, is automatically checked into the Content Server as an HCSF file when it is submitted by clicking the Submit button. If a
user then wants to view the form data, a template could be used to present the data from the HTML form.
Figure 1–3 Form Data in Table
Note: Both the HTML form and HTML template shown above are
included as samples.
1-8 Administrators Guide for Dynamic Converter
1.9.2 Conversion of XML to HTML
Dynamic Converter supports the conversion of XML to HTML by means of an XSL file. The XSL file with the extension .xsl is a template that defines how XML files are
presented as HTML in a web browser.
In order for Dynamic Converter to properly identify and convert XML files, you must:
■
Check the XSL file into the Content Server.
■
Configure Dynamic Converter to recognize XML files. See Adding File Formats
For Dynamic Conversion on page 2-2 for an explanation of how to add a file
format for dynamic conversion. In this case, you would add applicationxml in the Formats text box.
■
Create a Dynamic Converter rule that matches the XML files you want to convert and specify the XSL file as the conversion template for that rule. See
Chapter 3, Template Rules
for more information.
To use the XML-to-HTML Element, the following line must be in the intradoc.cfg file which is located in the DomainHomeucmcsbin subdirectory of the Content Server
installation directory:
■
For Microsoft Windows:
CLASSPATH=COMPUTEDCLASSPATH;[CS-Dir]sharedclassesxalan.jar;[CS-Dir]shared classesxerces.jar
■
For UNIX:
CLASSPATH=COMPUTEDCLASSPATH:[CS-Dir]sharedclassesxalan.jar:[CS-Dir] sharedclassesxerces.jar
where [CS-Dir] is the installation directory of your Content Server instance.
1.9.3 Rendering Paragraphs as Graphics