%@ page language="C#" masterpagefile="~/templates/Documentation.master"
inherits="Page"
pagetitle="Specifying Stylesheet Parameters and Options"
keywords="Specifying Stylesheet Parameters and Options"%> Home >Online Product Documentation >Table of Contents >Specifying Stylesheet Parameters and Options
You can specify values for stylesheet parameters in the Parameter Values tab of the Scenario Properties dialog box.
Stylus Studio displays the Scenario Properties dialog box.
Stylus Studio displays a list of the parameters defined in your stylesheet, if any, with any default values.
Specifying Stylesheet Parameters and Options
To specify XSLT stylesheet parameters:
.
The default is that Stylus Studio passes a parameter as a string.
In the XSLT Encoding field, you can specify the encoding you want Stylus Studio to use when you save the stylesheet.
To display a list of the encodings supported by Stylus Studio, click the down arrow in the XSLT Encoding field.
In the Output method field, you can specify the type of data you want the stylesheet to generate. Choices include
If you do not specify an xsl:output instruction in your stylesheet, Stylus Studio uses the default output method you specify here. If you do specify an xsl:output instruction in your stylesheet, that instruction overrides the default you specify here.
When the result of applying a stylesheet is XHTML, specify xml as the Output method. Note, however, that Stylus Studio displays rendered HTML in the Preview in Browser window.
In the Params/Other tab, in the Output Encoding field, you can specify the encoding you want Stylus Studio to use in the document that is the result of applying the stylesheet. When you apply a stylesheet, Stylus Studio uses this encoding for the output document. You can change the encoding by changing the setting in the Params/Other tab or in the initial processing instruction in the stylesheet. When you change the setting in one of these places, Stylus Studio automatically changes it in the other. They are always the same. In the Output Encoding field, click the down arrow to display a list of the supported encodings.
If you want Stylus Studio to insert indents in the result document, select Indent.