Developer’s Guide

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