Custom Web Publishing with XML and XSLT

Table Of Contents
104 FileMaker Server Custom Web Publishing with XML and XSLT
–styletype (Style type) query parameter
Generates an XML-stylesheet processing instruction within the output document—setting the value of the
type attribute (type=text/css or type=text/xsl)—so you can use client-side, cascading stylesheets (CSS) or
XSLT stylesheets with your XML document. See
“Using server-side and client-side processing of
stylesheets” on page 40. This parameter is used in conjunction with the –stylehref parameter.
Optional with: All query commands
Requires: –stylehref parameter
Example (assumes mystylesheet.css is in the root folder of the web server software):
http://192.168.123.101/fmi/xml/fmresultset.xml?–db=employees&–lay=departments&–styletype=text/css
&–stylehref=/mystylesheet.css&–findall
–token.[string] (Pass values between XSLT stylesheets) query parameter
Passes any user-defined information between XSLT stylesheets without using sessions or cookies. This
query parameter can only be used with Custom Web Publishing with XSLT requests.
string in –token.[string] is: Any alphanumeric string of any length, except blank spaces, including the
numbers 0-9, lowercase letters a-z, or uppercase letters A-Z
User-defined parameter value is: Any character string that is URL encoded.
Optional with: All XSLT requests
Example:
http://192.168.123.101/fmi/xsl/template/my_stylesheet.xsl?–db=employees&–lay=departments
&–grammar=fmresultset&–token.D100=Active&–findall
See “Using tokens to pass information between stylesheets” on page 58.