[Contents] [Prev] [Next] [Index] [Report an Error]

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

string concat(string, string+)

Description

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.

contains()

Syntax

boolean contains(string, string)

Description

Return TRUE if the first argument string contains the second argument string, and otherwise returns FALSE.

See Automatically Configuring Logical Interfaces and IP Addresses.

Related Topics

 starts-with()

count()

Syntax

number count(node-set)

Description

Return the number of nodes in the argument node-set.

See Limiting the Number of E1 Interfaces.

Related Topics

last(), position()

last()

Syntax

number last()

Description

Return the index of the last node in the list that is currently being evaluated.

See Limiting the Number of E1 Interfaces.

Related Topics

count(), position()

name()

Syntax

string name(<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.

See <jcs:emit-change> Template.

not()

Syntax

boolean not(boolean)

Description

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.

position()

Syntax

number position()

Description

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.

Related Topics

count(), last()

starts-with()

Syntax

boolean starts-with(string, string)

Description

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.

Related Topics

 contains()

string-length()

Syntax

number string-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.

See Automatically Configuring Logical Interfaces and IP Addresses.

substring-after()

Syntax

string substring-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.

See Limiting the Number of E1 Interfaces and Automatically Configuring Logical Interfaces and IP Addresses.

Related Topics

 substring-before()

substring-before()

Syntax

string substring-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.

See Automatically Configuring Logical Interfaces and IP Addresses.

Related Topics

 substring-after()


[Contents] [Prev] [Next] [Index] [Report an Error]