Custom Web Publishing Guide

Table Of Contents
84 Custom Web Publishing Guide
–grammar (Grammar for XSLT stylesheets) query parameter
Specifies the grammar to use for an XSLT stylesheet. This query command can only be used with Custom Web
Publishing with XSLT requests.
Value is: fmresultset, FMPXMLRESULT or FMPXMLLAYOUT
Required with: All XSLT requests
Example:
http://192.168.123.101/fmi/xsl/my_template/my_stylesheet.xsl?-grammar=fmresultset&-db=mydatabase
&-lay=mylayout&-findall
See “Specifying an XML grammar for a FileMaker XSLT stylesheet” on page 50.
–lay (Layout) query parameter
Specifies the database layout you want to use
Value is: Name of the layout
Required with: All query commands except –process, –dbnames, –layoutnames, and –scriptnames
Example:
http://192.168.123.101/fmi/xml/fmresultset.xml?-db=employees&-lay=departments&-view
–lay.response (Switch layout for response) query parameter
Specifies that FileMaker Server should use the layout specified by the –lay parameter when processing a
request, and switch to the layout specified by the –lay.response parameter when processing the XML response
If you don’t include the –lay.response parameter, FileMaker Server uses the layout specified by the –lay
parameter when processing both the request and the response.
You can use the –lay.response parameter for either XML requests or in XSLT stylesheet requests.
Value is: Name of the layout
Optional with: All query commands except –process, –dbnames, –layoutnames, and –scriptnames
Example:
http://192.168.123.101/fmi/xml/fmresultset.xml?-db=employees&-lay=Budget&Salary=100000&Salary.op=gt&-find
&-lay.response=ExecList
lop (Logical operator) query parameter
Specifies how the find criteria in the –find query command are combined as either an “and” or an “or” search
Value is: “and” or “or” (which must be specified in lowercase). If the –lop query parameter is not included,
then the –find query command uses the
and value.
Optional with: –find query command
Example:
http://192.168.123.101/fmi/xml/fmresultset.xml?-db=employees&-lay=departments&Last+Name=Smith
&Birthdate=2/5/1972&-lop=and&-find