Pathfinder Applications
Note: † Internal applications are hidden from customers and partners. This is visible to you because you have logged into HPEs internal network.
Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- ACX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- EX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- M Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- MX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- PTX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- SRX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- T Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
xsl:when
Syntax
<xsl:when test="boolean-expression">
...
</xsl:when>
Description
Within an <xsl:choose> instruction, specify a set of processing instructions that are executed when the expression specified in the test attribute evaluates to TRUE. The XSLT processor processes only the instructions contained in the first <xsl:when> element whose test attribute evaluates to TRUE. If none of the <xsl:when> elements’ test attributes evaluate to TRUE, the content of the <xsl:otherwise> element, if there is one, is processed.
Attributes
test | — | Specifies a Boolean expression. |
Usage Examples
- Example: Automatically Configuring Logical Interfaces and IP Addresses
- Example: Configuring Dual Routing Engines
- Example: Preventing Import of the Full Routing Table
Related Documentation
- ACX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- EX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- M Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- MX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- PTX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- SRX Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise
- T Series
- XSLT Programming Instructions Overview
- xsl:choose
- xsl:for-each
- xsl:if
- xsl:otherwise