XPath and XSLT Functions Shown in This Manual
The following sections explain each of the XPath and XSLT functions shown in this manual. The functions are organized alphabetically.
concat()
Syntax
stringconcat(string,string+)Description
Return the concatenation of the arguments.
Usage Examples
See Limiting the Number of E1 Interfaces, Controlling IS-IS and MPLS Interfaces, Adding T1 Interfaces to a RIP Group, Configuring Administrative Groups for LSPs, and Controlling a Dual Routing Engine Configuration.
contains()
Syntax
booleancontains(string,string)Description
Return TRUE if the first argument string contains the second argument string, and otherwise returns FALSE.
Usage Examples
See Automatically Configuring Logical Interfaces and IP Addresses.
See Also
count()
Syntax
numbercount(node-set)Description
Return the number of nodes in the argument node-set.
Usage Examples
See Limiting the Number of E1 Interfaces.
See Also
last()
Syntax
numberlast()Description
Return the index of the last node in the list that is currently being evaluated.
Usage Examples
See Limiting the Number of E1 Interfaces.
See Also
name()
Syntax
stringname(<node-set>)Description
Return the full name of the last node in the node set, including the prefix for its namespace declared in the source document. If no argument is passed, then returns the full name of the context node.
Usage Examples
See <jcs:emit-change> Template.
not()
Syntax
booleannot(boolean)Description
Return TRUE if its argument is FALSE, and FALSE if the argument is TRUE.
Usage Examples
See Requiring and Restricting Configuration Statements, Controlling IS-IS and MPLS Interfaces, Adding a Default Encapsulation Type, Controlling LDP Configuration, Adding a Final "then accept" Term to a Firewall, Configuring Administrative Groups for LSPs, Controlling a Dual Routing Engine Configuration, and Preventing Import of the Full Routing Table.
position()
Syntax
numberposition()Description
Return the position of the context node among the list of nodes that are currently being evaluated.
Usage Examples
See Adding a Final "then accept" Term to a Firewall and Prepending a Global Policy.
See Also
starts-with()
Syntax
booleanstarts-with(string,string)Description
Return TRUE if the first argument string starts with the second argument string, and returns FALSE otherwise.
Usage Examples
See Imposing a Minimum MTU Setting, Limiting the Number of E1 Interfaces, Limiting the Number of ATM Virtual Circuits, Adding T1 Interfaces to a RIP Group, Adding a Default Encapsulation Type, and Controlling a Dual Routing Engine Configuration.
See Also
string-length()
Syntax
numberstring-length(<string>)Description
Return the number of characters in the string. If the argument is omitted, it returns the string value of the context node.
Usage Examples
See Automatically Configuring Logical Interfaces and IP Addresses.
substring-after()
Syntax
stringsubstring-after(string,string)Description
Return the substring of the first argument string that occurs after the second argument string. If the second string is not contained in the first string, or if the second string is empty, then it returns an empty string.
Usage Examples
See Limiting the Number of E1 Interfaces and Automatically Configuring Logical Interfaces and IP Addresses.
See Also
substring-before()
Syntax
stringsubstring-before(string,string)Description
Return the substring of the first argument string that occurs before the second argument string. If the second string is not contained in the first string, or if the second string is empty, then it returns an empty string.
Usage Examples
See Automatically Configuring Logical Interfaces and IP Addresses.
See Also