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.

  • N: Indicates the earliest version of Netscape that supports this tag
  • IE: Indicates the earliest version of Internet Explorer that supports this tag

Note:Elements supported in IE 5 may exhibit non-standard behavior due to the fact that IE 5 was released before XSLT was established as a formal W3C standard.

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