Custom Web Publishing with XML and XSLT

Table Of Contents
44 FileMaker Server Custom Web Publishing with XML and XSLT
Getting started using Custom Web Publishing with XSLT
If you know standard XML and XSLT, then you can immediately start using the Web Publishing Engine
after learning a few unique details about FileMaker XML and XSLT publishing, such as how to use the
FileMaker XSLT extension functions and query commands and parameters. XSLT Site Assistant is a tool to
help you create stylesheets and learn how they are constructed. Then, you can use your favorite XML and
XSLT authoring tools to further enhance the stylesheets.
How the Web Publishing Engine generates pages based on XML data and XSLT stylesheets
After an XSLT Custom Web Publishing (XSLT-CWP) request is sent to the web server, the Web Publishing
Engine queries the FileMaker database based on the query commands and parameters that are defined in the
stylesheet and in the URL, and then outputs the data according to the instructions in the XSLT stylesheet.
Web
Browser
Web Server
Web Server Module
FileMaker Server Web
Publishing Engine
Custom Web Publishing
Engine (CWPE)
FileMaker
Database
Server
FileMaker Server Web
Publishing Engine
Web Publishing Core
Web Server
Web Server Module
Web
Browser
XSLT-CWP request is routed from web browser or program to FileMaker Database Server
1. XSLT-CWP
request is sent
from web
browser or
program to web
server.
2. Web server routes
XSLT-CWP request
to CWPE.
3. CWPE requests
XML data from
Web Publishing
Core based on
query command
and parameters.
4. Web Publishing
Core requests data
from database
hosted by FileMaker
Database Server.
Data is routed back from Database Server, and Web Publishing Engine uses XSLT stylesheet to transform and format data
8. Web server
sends output
to web
browser or
program.
7. CWPE uses XSLT
stylesheet to format or
transform XML data, and
sends output as HTML
pages, XML document,
or text to web server.
6. Web
Publishing Core
converts data to
XML and sends
it to CWPE.
5. FileMaker Database
Server sends requested
data to Web Publishing
Core.
Customers.fp7Products.fp7
Catalog.fp7Orders.fp7
Custom Web Publishing
Engine (CWPE)
Web Publishing Core