XSL Element | Syntax | Description | Text Reference |
xsl:applytemplates | <xsl: apply- templates select = expression mode = qname> (xsl: sort xsl: with- param) * </ xsl: apply- templates> | Invokes the best-match template rules against the node-set returned by the select expression. | Page 79 |
xsl: attribute | <xsl: attribute name = {qname} namespace = {uri} template- body </ xsl: attribute> | Output an XML attribute whose local name is name, whose name space URI is namespace and whose children are based on template. | Page 85 |
xsl: choose | <xsl: choose> <xsl: when> + <xsl: otherwise> ? </ xsl: choose> | Operates just like a switch or Select statement. Evaluates the first xsl: when template whose test expression evaluates to true. If none evaluate to true, then the xsl: otherwise template clause is evaluated. | Page 92 |
xsl:comment | <xsl: comment> template-body </ xsl: comment> | Writes a comment to the current output. | Page 88 |
xsl:copy | <xsl: copy use- -attribute- -sets = qnames> template- body </ xsl: copy> | Copies the current context node (and associated namespace nodes) to the result tree fragment. | Page 86 |
xsl:decimal-format | <xsl: decimal-format> character/symbol definitions <xsl: decimal-format> | Defines the characters and symbols used when converting from strings to numbers . | Page 89 |
xsl:element | <xsl: element name = {qname} namespace = {uri} use-attribute-sets=list-of-QNames template- body </xsl: element> | Output an XML attribute whose local name is name, whose name space URI is namespace and whose children are based on template. | Page 84 |
xsl:for-each | <xsl:for-each select = XPath expression> <xsl: sort> * template- body </xsl:for-each> | Selects a node set via an XPath expression and processes each node identically. | Page 93 |
xsl:if | <xsl:if test = expression> template body </xsl if> | Evaluates the template body only if the test expression evaluates to true. | Page 92 |
xsl:import | <xsl:import href=uri/> | Imports the contents of one stylesheet module into another. | Page 72 |
xsl:include | <xsl:include href=uri/> | Imports the contents of one stylesheet module into another | Page 72 |
xsl:otherwise | see xsl:choose |
xsl:output | <xsl:output> format-control-expressions </xsl: output> | Controls the format of the stylesheet output. | Page 94 |
xsl:processing-instruction | <xsl:processing-instruction name= {QName)> template-body </xsl:processing-instruction> | Write an XML processing instruction whose target is name and whose children are based on template. | Page 88 |
xsl:stylesheet | <xsl:stylesheet stylesheet attributes </xsl:stylesheet> | The outermost element of a stylesheet. | Page 71 |
xsl:template | <xsl:template name=QName match= Pattern mode=QName priority= Number> <xsl: param> * template-body </xsl:template> | Defines a template for output | Page 77 |
xsl:value-of | <xsl:valueof select=expression disable-output-escaping = "yes" "no"/> | Writes the string value of the expression to the output. | Page 80 |
xsl:variable | <xsl:variable name=QName select=expression> template-body </xsl:variable> | Declares a variable named name and initializes it using either the select expression or template. | Page 72 |
xsl:when | see xsl:choose |