files/en-us/web/xml/xslt/reference/element/stylesheet/index.md
The <xsl:stylesheet> element (or the equivalent <xsl:transform> element) is the outermost element of a stylesheet.
A pseudo-attribute required to identify the document as an XSLT stylesheet. Typically this is xmlns:xsl="http://www.w3.org/1999/XSL/Transform".
<xsl:stylesheet
version="NUMBER"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
id="NAME"
extension-element-prefixes="LIST-OF-NAMES"
exclude-result-prefixes="LIST-OF-NAMES">
ENTIRE STYLESHEET
</xsl:stylesheet>
version
exclude-result-prefixes
extension-element-prefixes
default-collation
default-collation attribute on an inner element. It also determines the collation used by certain XSLT constructs (such as <xsl:key> and <xsl:for-each-group>) within its scope.default-mode
mode attribute of all <xsl:template> and <xsl:apply-templates> elements within its scope.default-validation
validation attribute of all relevant instructions appearing within its scope.expand-text
id
id for this stylesheet. This is most often used when the stylesheet is embedded in another XML document.input-type-annotations
use-when
xpath-default-namespace
Required outermost element of stylesheet.
{{Specifications}}