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
id
(Supported as of 7.0 only if explicitly called out by an inline DTD.) id
for this stylesheet. This is most often used when the stylesheet is embedded in another XML document. Required outermost element of stylesheet.
XSLT, section 2.2.
Some support. See comments above.
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XSLT/stylesheet