Custom Web Publishing Guide

Table Of Contents
88 Custom Web Publishing Guide
–stylehref (Style href) query parameter
Generates an XML-stylesheet processing instruction within the output document—setting the value of the href
attribute (href=/mystylesheet.css or href=/stylesheets/mystylesheet.xsl)—so you can use client-side,
cascading stylesheets (CSS) or XSLT stylesheets with your XML document. The value of the -stylehref
parameter must use an absolute path. The name of the stylesheet can be any name but it must contain an
extension of either .css or .xsl. See
“Using server-side and client-side processing of stylesheets” on page 35.
This parameter is used in conjunction with the –styletype parameter.
Optional with: All query commands
Requires: –styletype parameter
Example (assumes mystylesheet.xsl 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/xsl
&-stylehref=/mystylesheet.xsl&-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 54.