Schema Central  >  XSLT 3.0  >  schema-for-xslt30.xsd  >  xsl:transform
Advanced search
Need XSLT Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

xsl:transform

Element information

Namespace: http://www.w3.org/1999/XSL/Transform

Schema document: schema-for-xslt30.xsd

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
default-collation [0..1]xsl:uri-listfrom type xsl:generic-element-type
default-mode [0..1]xsl:default-mode-typefrom type xsl:generic-element-type
default-validation [0..1]xsl:validation-strip-or-preserveDefault value is "strip". from type xsl:generic-element-type
exclude-result-prefixes [0..1]xsl:prefix-list-or-allfrom type xsl:generic-element-type
expand-text [0..1]xsl:yes-or-nofrom type xsl:generic-element-type
extension-element-prefixes [0..1]xsl:prefix-listfrom type xsl:generic-element-type
use-when [0..1]xsl:expressionfrom type xsl:generic-element-type
xpath-default-namespace [0..1]xsd:anyURIfrom type xsl:generic-element-type
_default-collation [0..1]xsd:stringfrom type xsl:generic-element-type
_default-mode [0..1]xsd:stringfrom type xsl:generic-element-type
_default-validation [0..1]xsd:stringfrom type xsl:generic-element-type
_exclude-result-prefixes [0..1]xsd:stringfrom type xsl:generic-element-type
_expand-text [0..1]xsd:stringfrom type xsl:generic-element-type
_extension-element-prefixes [0..1]xsd:stringfrom type xsl:generic-element-type
_use-when [0..1]xsd:stringfrom type xsl:generic-element-type
_xpath-default-namespace [0..1]xsd:stringfrom type xsl:generic-element-type
version [0..1]xsd:decimalfrom type xsl:transform-element-base-type
_version [0..1]xsd:stringfrom type xsl:transform-element-base-type
Any attribute [0..*]Namespace: ##other, Process Contents: laxfrom type xsl:transform-element-base-type
id [0..1]xsd:ID
input-type-annotations [0..1]xsl:input-type-annotations-typeDefault value is "unspecified".
_id [0..1]xsd:string
_input-type-annotations [0..1]xsd:string

Assertions

TestDescriptionNotes
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