# xsl:stylesheet

The `xsl:stylesheet` element is always the top-level element of an XSLT stylesheet. The name `xsl:transform` may be used as a synonym.

The following attributes may be specified:

version | Mandatory. A value other than "1.0" invokes forwards compatibility mode.
saxon:trace | Value "yes" or "no": default no. If set to "yes", causes activation of templates to be traced on System.err for diagnostic purposes. The value may be overridden by specifying a saxon:trace attribute on the individual template.

Expand | Next