Parameters are passed to the stylesheet in <xsl:param name="request-query" />
, whose structure must be specified in the documentation, but as far as I remember it's
<query action="..."> <-- the form action, i.e. the url -->
<parameter name="...">...</parameter>
</query>
The query
namespace is http://www.filemaker.com/xml/query
. FileMaker's own idea of passing custom parameters is to name them like token.1
, etc., but it's possible to pass just any set of parameters to a XSLT that uses a process
action (i.e. doesn't hit the database), sort the parameters out into what goes into the db and what stays, make an inline call, and then process the result and add the saved parameters back.
Note that you also can access the cookies and the headers, if you need. Also note that XSLT API is deprecated and won't be supported in future FileMaker version.