XSLT Editor - Params/Other Tab

The Params/Other tab is available in the XSLT editor and in the XSLT mapper. Use this tab to specify the output method, stylesheet and result document encoding, and stylesheet parameters.

To display the XSLT editor, open an XSLT stylesheet, or select File > New > XSLT Stylesheet from the Stylus Studio menu bar. At the bottom of the XSLT editor window, click the Params/Other tab.

Fields

XSLT Encoding

Specifies the encoding for the stylesheet. The default is UTF-8. Click the down arrow to display a list of encodings that you can choose.

Output method

Specifies the format for a document that is the result of applying this stylesheet. The default is HTML. Click the down arrow to select from html, xml, text, or unspecified. When unspecified is selected, and there is no xsl:output instruction in the stylesheet, the output method is XML.

When the output is XHTML, specify XML as the Output method. Stylus Studio displays the result as rendered HTML in the Preview in Browser view of the XSLT Preview window.

Output Encoding

Specifies the encoding for a document that is the result of applying this stylesheet. The default is UTF-8. Click the down arrow to display a list of encodings that you can choose.

Indent

When selected, Stylus Studio inserts indents in the result document.

Read-only list of global parameters

This read-only field displays the parameters in your stylesheet, and their default values. You can right-click a parameter to jump to its definition in the stylesheet.

The parameter information also specifies the source file that defines the parameter. This is especially helpful when you have a chain of included or imported stylesheets. In this situation, the source file that defines a parameter might not be obvious.

For More Information

Specifying Stylesheet Parameters and Options

 
Free Stylus Studio XML Training:
W3C Member