XSLT <xsl:stylesheet> and <xsl:transform> Elements
Definition and Usage
The <xsl:stylesheet> and <xsl:transform> elements are completely synonymous. Both are used to define the root element of a stylesheet.
Syntax
Attributes
| Attribute | Value | Description |
|---|---|---|
| version | version | Required. Specifies the XSLT version of the stylesheet. |
| extension-element-prefixes | list | Optional. A list of namespace prefixes for extension elements, separated by spaces. Not supported by Netscape 6. |
| exclude-result-prefixes | list | Optional. A list of namespace prefixes that should not appear in the output, separated by spaces. |
| id | name | Optional. A unique id for the stylesheet. Not supported by Netscape 6. |