Back | Go to standard |
<if> | |
attributes: test | |
Standard excerpt: | |
The xsl:if element has a test attribute, which specifies an expression. The content is a template. The expression is evaluated
and the resulting object is converted to a boolean as if by a call to the boolean function. If the result is true, then the
content template is instantiated; otherwise, nothing is created. In the following example, the names in a group of names are
formatted as a comma separated list:
Examples (xslt:xml): Overview 2:1 52:2 83:18 87:8 88:8 89:8 90:8 91:8 92:8 Interactive xlab: |