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
- apply-templates
- call
- mode
- priority
- template
- with
- EX Series
- apply-templates
- call
- mode
- priority
- template
- with
- M Series
- apply-templates
- call
- mode
- priority
- template
- with
- MX Series
- apply-templates
- call
- mode
- priority
- template
- with
- PTX Series
- apply-templates
- call
- mode
- priority
- template
- with
- SRX Series
- apply-templates
- call
- mode
- priority
- template
- with
- T Series
- apply-templates
- call
- mode
- priority
- template
- with
match
Syntax
match expression {
statements;
}Release Information
Statement introduced in version 1.0 of the SLAX language.
Description
Declare a template that contains rules to apply when a specified node is matched. The match statement associates the template with an XML element. The match statement can also be used to define a template for a whole branch of the XML document For example, match / matches the root element of the document.
Attributes
expression | — | XPath expression specifying the nodes to which to apply the template. |
SLAX Example
match host-name {
<hello> .;
}XSLT Equivalent
<xsl:template match="host-name">
<hello>
<xsl:value-of select="."/>
</hello>
</xsl:template>
Usage Examples
Example: Adding a Final then accept Term to a Firewall, Example: Configuring Dual Routing Engines, and Example: Preventing Import of the Full Routing Table.
Related Documentation
- ACX Series
- apply-templates
- call
- mode
- priority
- template
- with
- EX Series
- apply-templates
- call
- mode
- priority
- template
- with
- M Series
- apply-templates
- call
- mode
- priority
- template
- with
- MX Series
- apply-templates
- call
- mode
- priority
- template
- with
- PTX Series
- apply-templates
- call
- mode
- priority
- template
- with
- SRX Series
- apply-templates
- call
- mode
- priority
- template
- with
- T Series
- apply-templates
- call
- mode
- priority
- template
- with