XSLT Element Reference Manual

XSLT elements derived from the W3C recommendation (XSLT Version 1.0).

XSLT Elements

If you need more detailed information about the following elements, please click on the link in the element column.

Element Description
apply-imports Apply template rules from the imported style sheet.
apply-templates Apply a template to the current element or the child elements of the current element.
attribute Add an attribute to an element.
attribute-set Create a named attribute set.
call-template Call a specified template.
choose Used in conjunction with <when> and <otherwise> to express multiple conditional tests.
comment Create a comment node in the result tree.
copy Create a copy of the current node (without child nodes and attributes).
copy-of Create a copy of the current node (including child nodes and attributes).
decimal-format Define the characters and symbols to be used when converting a number to a string using the format-number() function.
element Create an element node in the output document.
fallback If the processor does not support a particular XSLT element, specify a fallback code to run.
for-each Iterate over each node in a specified node set.
if Include a template that is applied only when a specified condition is true.
import Used to pour the content of one style sheet into another style sheet.
include Include the content of one style sheet into another style sheet.
key Declare a named key.
message Write a message to the output (for error reporting).
namespace-alias Replaces the namespace in the stylesheet with a different namespace in the output.
number Determines the integer position of the current node and formats the number.
otherwise Specifies the default action of the <choose> element.
output Defines the format of the output document.
param Declares a local or global parameter.
preserve-space Used to define elements that preserve whitespace.
processing-instruction Generates processing instruction nodes.
sort Sorts the results.
strip-space Defines elements that should remove whitespace characters.
stylesheet Defines the root element of the stylesheet.
template The rules applied when the specified node is matched.
text Generates text nodes through the stylesheet.
transform Defines the root element of the stylesheet.
value-of Extracts the value of the selected node.
variable Declares a local or global variable.
when Specifies the action of the <choose> element.
with-param Specifies the value of the parameter that needs to be passed to a template.