xsl:transform Element
The document element of a style sheet, containing <xsl:template> and <msxsl:script> elements. Synonym for xsl:stylesheet.
<xsl:transform
id = id
extension-element-prefixes = tokens
exclude-result-prefixes = tokens
version = number>
<!-- Content: (xsl:import*, top-level-elements) -->
</xsl:transform>
Attributes
- version
- Required. Indicates the version of XSLT the style sheet requires. Value should be set to 1.0 for this version of XSLT.
- id
- Specifies a unique identifier to facilitate embedding stylesheets.
- extension-element-prefixes
- Designates a namespace as an extension namespace. The value is a white-space separated list of namespace prefixes. The namespace bound to each of the prefixes is designated as an extension namespace. The default namespace (as declared by xmlns) may be designated as an extension namespace by including #default in the list of namespace prefixes. The designation of a namespace as an extension namespace is effective within the subtree of the stylesheet rooted at the element bearing the extension-element-prefixes; a subtree rooted at an xsl:stylesheet element does not include any stylesheets imported or included by children of that <xsl:stylesheet> element.
- exclude-result-prefixes
- Designates a namespace URI as an excluded namespace. The value is a white-space separated list of namespace prefixes. The namespace bound to each of the prefixes is designated as an excluded namespace. The default namespace (as declared by xmlns) may be designated as an excluded namespace by including #default in the list of namespace prefixes. The designation of a namespace as an excluded namespace is effective within the subtree of the stylesheet rooted at the element bearing the exclude-result-prefixes; a subtree rooted at an xsl:stylesheet element does not include any stylesheets imported or included by children of that <xsl:stylesheet> element.
Element Information
Remarks
A synonym for the <xsl:stylesheet> element. This element can have a set of <xsl:template> elements representing different output templates. Processing begins by processing the root template, indicated by the pattern "/".
See Also
xsl:stylesheet