XSLT Elements
The following table provides a brief summary of all the XSLT elements.
XSLT Elements
Element | Description |
---|---|
Invokes an overridden template rule. |
|
Directs the XSLT processor to find the appropriate template to apply, based on the type and context of each selected node. |
|
Creates an attribute node and attaches it to an output element. |
|
Defines a named set of attributes. |
|
Invokes a template by name. |
|
Provides multiple conditional testing in conjunction with the |
|
Generates a comment in the output. |
|
Copies the current node from the source to the output. |
|
Inserts subtrees and result tree fragments into the result tree. |
|
Declares a decimal-format, which controls the interpretation of a format pattern used by the |
|
Creates an element with the specified name in the output. |
|
Calls template content that can provide a reasonable substitute to the behavior of the new element when encountered. |
|
Applies a template repeatedly, applying it in turn to each node in a set. |
|
Allows simple conditional template fragments. |
|
Imports another XSLT file. |
|
Includes another XSLT file. |
|
Declares a named key for use with the |
|
Sends a text message to either the message buffer or a message dialog box. |
|
Replaces the prefix associated with a given namespace with another prefix. |
|
Inserts a formatted number into the result tree. |
|
Provides multiple conditional testing in conjunction with the |
|
Specifies options for use in serializing the result tree. |
|
Declares a named parameter for use within an |
|
Preserves white space in a document. |
|
Generates a processing instruction in the output. |
|
Defines global variables and functions for script extensions. |
|
Specifies sort criteria for node lists selected by |
|
Strips white space from a document. |
|
Specifies the document element of an XSLT file. The document element contains all other XSLT elements. |
|
Defines a reusable template for generating the desired output for nodes of a particular type and context. |
|
Generates text in the output. |
|
Performs the same function as |
|
Inserts the value of the selected node as text. |
|
Specifies a value bound in an expression. |
|
Provides multiple conditional testing in conjunction with the |
|
Passes a parameter to a template. |
* Denotes a Microsoft proprietary extension to support scripting.
See Also
Reference
format-number Function
<xsl:apply-templates> Element
<xsl:choose> Element
<xsl:for-each> Element
<xsl:otherwise> Element
<xsl:stylesheet> Element
<xsl:template> Element
<xsl:when> Element