XSLT Elements

The links in the "Element" columns point to attributes and more useful information about the specific element.

Element Description
xsl:apply-imports Applies a template from an imported stylesheet
xsl:apply-templates Applies a template to the current element
xsl:attribute Adds an attribute to the nearest containing element
xsl:attribute-set Defines a named set of attributes
xsl:call-template Provides a way to call a named template
xsl:choose Provides a way to choose between a number of alternatives based on conditions
xsl:comment Creates an XML comment
xsl:copy Copies the current node without childnodes and attributes to the output
xsl:copy-of Copies the current node with childnodes and attributes to the output
xsl:decimal-format Defines the character/string to be used when converting numbers into strings, with the format-number function
xsl:element Adds a new element node to the output
xsl:fallback Provides a way to define an alternative for not implemented instructions
xsl:for-each Provides a way to create a loop in the output stream.
xsl:if Provides a way to write a conditional statement
xsl:import Imports a stylesheet
xsl:include Includes a stylesheet
xsl:key Provides a way to define a key
xsl:message Writes a message to the output
xsl:namespace-alias Provides a way to map a namespace to another namespace
xsl:number Writes a formatted number to the output
xsl:otherwise Indicates what should happen when none of the <xsl:when> elements inside an <xsl:choose> element is satisfied
xsl:output Provides a way to control the transformed output
xsl:param Provides a way to define parameters
xsl:preserve-space Provides a way to define the handling of white-space
xsl:processing-instruction Writes a processing instruction to the output
xsl:sort Provides a way to define sorting
xsl:strip-space Provides a way to define the handling of white-space
xsl:stylesheet Defines the root element of the style sheet
xsl:template Defines a template for output
xsl:text Writes text to the output
xsl:transform Defines the root element of the style sheet
xsl:value-of Creates a text node and inserts a value into the result tree
xsl:variable Provides a way to declare a variable
xsl:when

Defines a condition to be tested and performs an action if the condition is true. This element is always a child element of <xsl:choose>

xsl:with-param Provides a way to pass parameters to templates