XSLT:stylesheet
From MDC
Contents |
The <xsl:stylesheet> element (or the equivalent <xsl:transform> element) is the outermost element of a stylesheet.
[edit] 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".
[edit] 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>
[edit] Required Attributes
version- Specifies the version of XSLT required by this stylesheet.
[edit] Optional Attributes
id(Supported as of 7.0 only if explicitly called out by an inline DTD.)- Specifies an
idfor this stylesheet. This is most often used when the stylesheet is embedded in another XML document.
- extension-element-prefixes (Not supported.)
- Specifies a space-separated list of any namespace prefixes for extension elements in this document.
- exclude-result-prefixes
- Specifies any namespace used in this document that should not be sent to the output document. The list is whitespace separated.
[edit] Type
Required outermost element of stylesheet.
[edit] Defined
XSLT, section 2.2.
[edit] Gecko support
Some support. See comments above.