Custom Web Publishing with XML and XSLT

Table Of Contents
Chapter 5
|
Introduction to Custom Web Publishing with XSLT 45
General steps for using Custom Web Publishing with XSLT
Here is a summary of the steps for using Custom Web Publishing with XSLT:
1. In the Admin Console, make sure XSLT Publishing is enabled. See FileMaker Server Help.
2. Using FileMaker Pro, open each FileMaker database that you’re publishing and make sure the database
has the fmxslt extended privilege enabled for Custom Web Publishing with XSLT. See
“Enabling Custom
Web Publishing in a database” on page 19.
Note Make sure that you use equivalent FileMaker database privilege sets when developing stylesheets
that will be given to the end user. Otherwise, you may have access to layouts and features in the
FileMaker database that will not be available to the end user, causing inconsistent behavior.
3. Create XSLT stylesheets that include FileMaker-specific XSLT extension functions, query commands,
and query parameters to format or transform the XML data from a FileMaker database.
You can use FileMaker XSLT Site Assistant to create one or more basic XSLT stylesheets as a starting
point for your site. See the next section,
“Using FileMaker XSLT Site Assistant to generate FileMaker
XSLT stylesheets.”
You can also use your own XSLT authoring or text editing tools to modify the XSLT stylesheets as necessary,
or to develop your stylesheets from scratch. See
chapter 6, “Developing FileMaker XSLT stylesheets.”
4. Copy or place the XSLT stylesheets in the xslt-template-files folder, which is located inside the Web
Publishing folder inside the FileMaker Server folder on the host where the Web Publishing Engine is installed.
You can also place the stylesheets in an optional folder or folder hierarchy inside the xslt-template-files
folder.
5. Place any static files on the web server. See “Using FileMaker XSLT stylesheets in a website or program”
on page 48.
6. Create or modify a website or program that uses the XSLT stylesheets.
For example, you can use a static page such as index.html for the website that auto-forwards web users to
an XSLT stylesheet, or has a link to the XSLT stylesheet.
7. Make sure that security mechanisms for your site or program are in place.
8. Test the site or program with the XSLT stylesheets, using the same accounts and privileges that are
defined for web users.
9. Make the site or program available and known to users.