Developer’s Guide

Table Of Contents
vi Developer’s Guide
Chapter 7
Using FileMaker Pro XML to deliver your data
About the XML examples 7-1
General process for custom web publishing using XML 7-2
Generating an XML document 7-2
About XML namespaces 7-3
About FileMaker Pro database error codes 7-3
Using the FMPDSORESULT grammar 7-3
Description of elements in the FMPDSORESULT
grammar
7-3
Example of XML data in the FMPDSORESULT
grammar
7-4
Using the FileMaker Pro Extended XML grammars 7-4
Description of elements in the FMPXMLRESULT
grammar
7-5
Example of XML data in the FMPXMLRESULT
grammar
7-6
Description of elements in the FMPXMLLAYOUT
grammar
7-7
Example of XML data in the FMPXMLLAYOUT
grammar
7-7
About UTF-8 encoded data 7-7
Generating FileMaker Pro CGI requests for an XML document 7-8
Request and parameter names 7-8
Requests for adding records to a portal 7-9
Requests for editing multiple records in a portal 7-9
Using style sheets with your XML document 7-10
Comparing CSS, XSLT, and JavaScript 7-11
Cascading style sheets (CSS) example 7-12
Extensible Stylesheet Language–Transformations
(XSLT) example
7-14
JavaScript scripting language example 7-15
Looking at the XML Inventory example 7-16
Chapter 8
Custom web publishing using CDML
About the CDML examples 8-1
General steps for custom web publishing using CDML 8-2
About CDML format files 8-2
Generating FileMaker Pro CGI requests using CDML 8-3
Request names 8-4
Requests for adding records to a portal 8-4
Requests for editing multiple records in a portal 8-4
Using the CDML Tool and templates 8-5
Using the Templates tab 8-6
Using the Tags tab 8-6
Customizing a format file template 8-7
Categories of CDML tags 8-8
Modified CDML tags 8-9
CDML tags new to FileMaker Pro 5 8-9
Modified CDML tags 8-10
Using an intratag parameter 8-11
About the CDML Reference database 8-11
Creating error messages 8-13
Using an encoding parameter with a CDML replacement tag 8-14
Planning your web site 8-14
Looking at the three CDML examples 8-15
Employee Database example 8-15
Guest Book example 8-16
Shopping Cart example 8-17
Chapter 9
Using Java and JDBC to deliver your data
About the JDBC examples 9-1
About JDBC 9-1
Using the FileMaker JDBC Driver 9-2
About the FileMaker JDBC Driver 9-2
Using a JDBC URL to connect to your database 9-2