Custom Web Publishing with XML and XSLT

Table Of Contents
82 FileMaker Server Custom Web Publishing with XML and XSLT
1 <port> is optional and specifies the port that the web server is listening on. If no port is specified, then
the default port for the protocol is assumed (port 80 for HTTP, or port 443 for HTTPS).
1 <path> is optional and specifies the folder(s) inside the xslt-template-files folder where the XSLT
stylesheet is located.
1 <stylesheet> is the name of the stylesheet with an .xsl extension.
1 <query string> can be a combination of one query command and one or more query parameters for
Custom Web Publishing with XSLT.
If the specified stylesheet includes a <?xslt-cwp-query?> processing instruction, the statically-defined
query command and parameters take precedence over any matching query command or parameters in the
URL query string. If you are referencing a home.xsl stylesheet generated by XSLT Site Assistant, you
need not include a query string. See
appendix A, “Valid names used in query strings” for more
information on query strings.
The URL syntax, including the names of query commands and parameters, is case sensitive except for
portions of the query string. The majority of the URL is in lower case. For example, if you copied your
stylesheets (including a home.xsl stylesheet) into the my_templates folder inside the xslt-template-files
folder, you can use the following URL to request and process the stylesheets:
http://192.168.123.101/fmi/xsl/my_templates/home.xsl
Note The Web Publishing Engine does not allow web users to view the source for XSLT stylesheets that
are installed in the xslt-template-files folder. When a web user sends a request to process a stylesheet, the
Web Publishing Engine sends to the web browser only the HTML pages that are the result of XSLT Site
Assistant's stylesheets.
Testing a Custom Web Publishing site
Before notifying users that your Custom Web Publishing site is available, verify that it looks and functions
as you expect.
1 Test features like finding, adding, deleting, and sorting records with different accounts and privilege sets.
1 Verify that privilege sets are performing as expected by logging in with different accounts. Make sure
unauthorized users can’t access or modify your data.
1 Check all scripts to verify that the outcome is expected. See “FileMaker scripts and Custom Web
Publishing” on page 22 for information on designing web-friendly scripts.
1 Test your site with different operating systems and web browsers.
Note If you don’t have a network connection and you have installed FileMaker Server 9 using a single
machine deployment—with the web server, Web Publishing Engine, and Database Server on one
computer—then you can test your Custom Web Publishing site by using http://localhost/ or http://127.0.0.1/ in
the URL. For information on the URL syntax, see
“About the URL syntax for XML data and container
objects” on page 27, and “About the URL syntax for FileMaker XSLT stylesheets” on page 52.