The following sections explain each of the XPath and XSLT functions shown in this manual. The functions are organized alphabetically.
string concat(string, string+)
Return the concatenation of the arguments.
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.
boolean contains(string, string)
Return TRUE if the first argument string contains the second argument string, and otherwise returns FALSE.
See Automatically Configuring Logical Interfaces and IP Addresses.
number count(node-set)
Return the number of nodes in the argument node-set.
See Limiting the Number of E1 Interfaces.
number last()
Return the index of the last node in the list that is currently being evaluated.
See Limiting the Number of E1 Interfaces.
string name(<node-set>)
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.
See <jcs:emit-change> Template.
boolean not(boolean)
Return TRUE if its argument is FALSE, and FALSE if the argument is TRUE.
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.
number position()
Return the position of the context node among the list of nodes that are currently being evaluated.
See Adding a Final then accept Term to a Firewall and Prepending a Global Policy.
boolean starts-with(string, string)
Return TRUE if the first argument string starts with the second argument string, and returns FALSE otherwise.
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.
number string-length(<string>)
Return the number of characters in the string. If the argument is omitted, it returns the string value of the context node.
See Automatically Configuring Logical Interfaces and IP Addresses.
string substring-after(string, string)
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.
See Limiting the Number of E1 Interfaces and Automatically Configuring Logical Interfaces and IP Addresses.
string substring-before(string, string)
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.
See Automatically Configuring Logical Interfaces and IP Addresses.