HTML and CSS Reference
In-Depth Information
Table 5-6. Overview of XSLT Elements
Element
Description
apply-imports
Applies a template rule from an imported style sheet
apply-templates
Applies a template rule to the current element or to the child nodes of the current element
attribute
Adds an attribute
attribute-set
Defines a named attribute set
call-template
Calls a named template
choose
Multiple conditional test (used with when and otherwise )
comment
Creates a comment node
copy
Creates a copy of the current node
copy-of
Creates a copy of the current node (with child nodes and attributes)
decimal-format
Defines the format to be used for converting numbers into strings with the
format-number function
element
Creates an element node in the output document
fallback
Declares an alternate code for XSLT elements
for-each
Provides a loop within a node set
if
Provides a template to be applied in case of a specified condition
import
Imports an external style sheet (with lower precedence)
include
Includes an external style sheet (with same precedence)
key
Declares a key to be used with the key function
message
Writes a message (typically error message)
namespace-alias
Replaces a namespace in the style sheet to another one in the output
number
Determines the position of the current node
otherwise
Specifies a default action for the choose element
output
Defines the format of the output document
param
Adds a (local or global) parameter
preserve-space
Defines elements with preserved whitespace
processing-instruction
Writes a processing instruction to the output
sort
Sorts the output
strip-space
Defines the elements from which whitespace should be removed
stylesheet
Defines the root element of a style sheet
template
Applies a template when a specified node is matched
text
Writes text to the output
transform
Defines the root element of a style sheet
value-of
Extracts the value from the selected node
variable
Declares a (local or global) variable
when
Specifies an action for the choose element
with-param
Defines the parameter value to be passed into a template
 
 
Search WWH ::




Custom Search