Custom Web Publishing with XML and XSLT

Table Of Contents
Appendix A
|
Valid names used in query strings 97
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 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
–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
Note Not supported by -findquery 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
–max (Maximum records) query parameter
Specifies the maximum number of records you want returned
Value is: A number, or use the value all to return all records. The value all must be specified in lowercase.
If –max is not specified, all records are returned.
Optional with: –find, –findall, and -findquery query commands