Firefox supports a handy mechanism for passing parameters to style sheets included with the xml-stylesheet XML processing instruction: <?xslt-param name="msg" value="Hello!"?> <?xml-stylesheet type="text/xsl" href="style.xsl"?> This is described in more detail here: https://developer.mozilla.org/en/XSLT/PI_Parameters
Created attachment 45511 [details] test document passing parameter via "xslt-param"
Created attachment 45512 [details] style sheet to go with the test document The document alerts "Hello" when loaded in Firefox, but shows an empty alert with WebKit (Google Chrome 4.0.266.0 on Linux).
While this is an interesting "feature", I don't see any common standardization of this as a feature. You can accomplish the same task by importing the stylesheet and setting the parameters explicitly in the importing stylesheet. I've attached an example.
Created attachment 47234 [details] Importing stylesheet with parameter value.
Created attachment 47235 [details] Imported stylesheet
Created attachment 47237 [details] Example Document using Importing Example