Custom Web Publishing Guide

Table Of Contents
Introduction to Custom Web Publishing with XSLT 43
Starting and using the CDML Converter
Important It is recommended that you first copy all of the files from the cdml_format_files folder (if you chose
to use it) and all of the files from your FileMaker Pro Web folder to a temporary working folder, and do the
conversion processing on the copied files.
Note When converting a source file to an XSLT stylesheet, the CDML Converter keeps the same filename but
changes the filename extension to .xsl. If the source folder contains multiple files with the same name and
different extensions, such as Myfile.html and Myfile.cdml, a file overwriting problem will occur during
conversion. For example, the CDML Converter converts Myfile.html to Myfile.xsl, and then attempts to
convert Myfile.cdml to Myfile.xsl. Because Myfile.xsl already exists, the CDML Converter displays a dialog
box to confirm that you want to overwrite it. To avoid this problem before conversion, make sure the files in
the source folder have unique filenames. If you change any filenames, be sure you change any references to
those files before conversion.
To start and use the CDML Converter:
1. To start the CDML Converter, do one of the following:
1 Double-click the FileMaker CDML Converter application icon.
1 Windows: Click the Start button, and choose FileMaker CDML Converter from the Programs menu.
2. For Source Folder, click Select to specify the folder where the CDML source files are stored.
3. Locate and select the folder that contains the CDML source files, then click Select.
4. For Text encoding of files, choose the encoding of the CDML source format files. See “Setting text encoding
for requests” on page 52.
Note All source format files in a conversion session must have the same text encoding.
5. For Destination Folder, click Select to specify the folder where you want to store the converted XSLT
stylesheets and other files from the CDML web site.
The CDML Converter creates a folder hierarchy and a set of files in the destination folder that correspond
to the source files. The CDML Converter copies files from the source folder that do not require CDML
conversion, such as the GIF files in an images subfolder, without changing them. The converted files have
the same filename, but the filename extension is changed to .xsl.
FileMaker CDML Converter
Click to specify CDML
source folder
Click to specify XSLT
destination folder