XSLT elements
XSLT Element Reference Manual
XSLT elements derived from the W3C recommended standard (XSLT Version 1.0).
XSLT Elements
If you need more detailed information about the following elements, click on the links in the Elements column.
Element | Description |
---|---|
apply-imports | Apply template rules from the imported stylesheet . |
apply-templates | Apply template rules to the current element or a child node of the current element. |
attribute | Add attributes. |
attribute-set | Define a named attribute set. |
call-template | Call a specified template. |
choose | Used in conjunction with <when> and <otherwise> to express multiple condition 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 (with child nodes and attributes). |
decimal-format | Define the characters and symbols to be used when converting numbers to strings through the format-number() function. |
element | Create an element node in the output document. |
fallback | If the processor does not support an XSLT element, specify an alternative code to run. |
for-each | Loop through each node in the specified node set. |
if | Contains a template that is applied only when a specified condition is true. |
import | is used to import the contents of one style sheet into another style sheet. Note: The imported style sheet has a lower priority than the exported style sheet. |
include | Include the contents of one style sheet into another style sheet. Notice: An included style sheet has the same priority as an included style sheet. |
key | Declares a named key that is used in the style sheet through the key() function. |
message | Write a message to the output (for reporting errors). |
namespace-alias | Replace the namespace in the stylesheet with a different namespace in the output. |
number | Determine the integer position of the current node and format the number. |
otherwise | Specifies the default action of the <choose> element. |
output | Define the format of the output document. |
param | Declare a local or global parameter. |
preserve-space | Define elements that preserve whitespace. |
processing-instruction | Write a processing instruction to the output, that is, generate a processing instruction node. |
sort | Sort the output. |
strip-space | Defines elements from which whitespace characters should be removed. |
stylesheet | Define the root element of the style sheet. |
template | The rule to apply when the specified node is matched. |
text | Write text to the output, that is, generate text nodes through the style sheet. |
transform | Define the root element of the style sheet. |
value-of | Extract the value of the selected node. |
variable | Declare local or global variables. |
when | Specifies the action of the <choose> element. |
with-param | Specifies the value of the parameter passed to the template. |