xsl:stylesheet
xsl:stylesheet
The <xsl:stylesheet>
element (or the equivalent <xsl:transform>
element) is the outermost element of a stylesheet.
Namespace Declaration
A pseudo-attribute required to identify the document as an XSLT stylesheet. Typically this is xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
.
Syntax
<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>
Required Attributes
-
version
- Specifies the version of XSLT required by this stylesheet.
Optional Attributes
-
id
(Supported as of 7.0 only if explicitly called o