xsl:stylesheet
Element information
Namespace: http://www.w3.org/1999/XSL/Transform
Schema document: schema-for-xslt30.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Choice [0..*]
- xsl:accumulator
- xsl:attribute-set
- xsl:character-map
- xsl:decimal-format
- xsl:function
- xsl:global-context-item
- xsl:import
- xsl:import-schema
- xsl:include
- xsl:key
- xsl:mode
- xsl:namespace-alias
- xsl:output
- xsl:param Declaration of the xsl:param element, used both defining function parameters, template parameters, parameters to xsl:iterate, and global stylesheet parameters.
- xsl:preserve-space
- xsl:strip-space
- xsl:template
- xsl:use-package This element appears as a child of xsl:package and defines a dependency of the containing package on another package, identified by URI in the name attribute. The package-version attribute indicates which version of the library package is required, or may indicate a range of versions.
- xsl:variable Declaration of the xsl:variable element, used both for local and global variable bindings.
- Any element Namespace: ##other, Process Contents: lax
from subst. group xsl:declaration
Attributes
Assertions
Test | Description | Notes |
---|---|---|
every $v in (.//xsl:param, .//xsl:variable)[exists(@static | @_static)] satisfies $v[parent::xsl:stylesheet or parent::xsl:transform or parent::xsl:override] | The static attribute must not be present on an xsl:variable or xsl:param element unless it is a top-level element. | |
every $prefix in (@exclude-result-prefixes[not(. = '#all')], @extension-element-prefixes) satisfies ((if ($prefix = '#default') then '' else $prefix) = in-scope-prefixes(.)) | XTSE0808: It is a static error if a namespace prefix is used within the [xsl:]exclude-result-prefixes attribute and there is no namespace binding in scope for that prefix. XTSE0809: It is a static error if the value #default is used within the [xsl:]exclude-result-prefixes attribute and the parent element of the [xsl:]exclude-result-prefixes attribute has no default namespace. |
Substitution hierarchy
- xsl:transform
- xsl:stylesheet