evaluate() Function (SLAX)
Namespaces
http://xml.libslax.org/slax
SLAX Syntax
object slax:evaluate(expression);
Description
Evaluate a SLAX expression and return the results of the expression. This supports expressions using the extended syntax provided by SLAX in addition to what is allowed in XPath.
Parameters
expression |
SLAX expression to evaluate. |
Return Value
object |
Result of the expression. |
Usage Examples
var $result = slax:evaluate("expr[name == '&']");
Release Information
Function introduced in version 1.1 of the SLAX language, which is supported in Junos OS Release 12.2 and later releases.