Custom Web Publishing Guide

Table Of Contents
|
Contents 5
Chapter 5
Developing FileMaker XSLT stylesheets 51
Using XSLT stylesheets with the Web Publishing Engine 51
About the FileMaker XSLT Extension Function Reference 52
About the URL syntax for FileMaker XSLT stylesheets 52
About the URL syntax for FileMaker container objects in XSLT solutions 53
Using query strings in FileMaker XSLT stylesheets 54
Specifying an XML grammar for a FileMaker XSLT stylesheet 54
About namespaces and prefixes for FileMaker XSLT stylesheets 55
Using statically defined query commands and query parameters 55
Setting text encoding for requests 56
Specifying an output method and encoding 57
About the encoding of XSLT stylesheets 58
Processing XSLT requests that do not query FileMaker Server 58
Using tokens to pass information between stylesheets 58
Using the FileMaker XSLT extension functions and parameters 59
About the FileMaker-specific XSLT parameters set by the Web Publishing Engine 59
Accessing the query information in a request 59
Obtaining client information 60
Using the Web Publishing Engine base URI parameter 61
Using the authenticated base URI parameter 61
Loading additional documents 61
Using a database’s layout information in a stylesheet 62
Using content buffering 63
Using Web Publishing Engine sessions to store information between requests 63
Using the session extension functions 64
Sending email messages from the Web Publishing Engine 65
Using the header functions 67
Using the cookie extension functions 68
Using the string manipulation extension functions 69
Comparing strings using Perl 5 regular expressions 70
Checking for values in a field formatted as a checkbox 70
Using the date, time, and day extension functions 72
Checking the error status of extension functions 76
Using logging 76
Using server-side processing of scripting languages 76
Defining an extension function 76
An extension function example 77