Developer’s Guide

Table Of Contents
Valid names used in CGI requests for FileMaker XML data
B-9
–script (Script)
Name/Value Type: Parameter
What it does: Specifies the FileMaker Pro script that will be
performed after finding and sorting records (if specified) during
processing of the –find request.
Value is: Name of the script to perform.
Optional with: –find or –findall requests
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–script=Omit+Script&–find
–script.prefind (Script before Find)
Name/Value Type: Parameter
What it does: Specifies the FileMaker Pro script that will be
performed before finding and sorting of records (if specified) during
processing of the –find request.
Value is: Name of the script to perform.
Optional with: –find or –findall requests
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–script.prefind=My+Script&–find
–script.presort (Script before Sort)
Name/Value Type: Parameter
What it does: Specifies the FileMaker Pro script that will be
performed after finding records and before sorting records (if
specified) during processing of the –find request.
Optional with: –find or –findall requests
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–script.presort=OmitOne&–find
–styletype (Style type)
Name/Value Type: Parameter
What it does: Tells the FileMaker Pro Web Companion to generate
an XML-stylesheet processing instruction within the grammar—
setting the value of the type attribute (type=text/css or type=text/
xsl)—so you can use cascading style sheets (CSS) or Extensible
Stylesheet Language (XSL) documents with your XML document.
This parameter is used in conjunction with the –stylehref parameter.
Optional with: All requests
Requires: The –stylehref parameter
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–styletype=text/css&–stylehref=mystylesheet.css&–find
–stylehref (Style href)
Name/Value Type: Parameter
What it does: Tells the FileMaker Pro Web Companion to generate
an XML-stylesheet processing instruction within the grammar—
setting the value of the href attribute (href=document.css or
href=document.xsl)—so you can use cascading style sheets (CSS) or
Extensible Stylesheet Language (XSL) documents with your XML
document. This parameter is used in conjunction with the –styletype
parameter.
Optional with: All requests
Requires: The –styletype parameter
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–styletype=text/xsl&–stylehref=mystylesheet.xsl&–find