Custom Web Publishing Guide

Table Of Contents
Appendix A
|
Valid names used in query strings 95
–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 54.
–lay (Layout) query parameter
Specifies the database layout you want to use
Value is: Name of the layout
Required with: All query commands except –dbnames, –layoutnames, –scriptnames, and –process (XSLT
requests only).
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 –dbnames, –layoutnames, –scriptnames, and –process (XSLT
requests only)
Example:
http://192.168.123.101/fmi/xml/fmresultset.xml?–db=employees&–lay=Budget&Salary=100000&Salary.op=gt&–find
&–lay.response=ExecList