Script functions reference > Script functions in alphabetical order > S > StEvalXPath

StEvalXPath
Syntax
StEvalXPath(strXPath);
strXPath
Description
Evaluates an XPath expression. The XPath context can either be set by a repeater or by using the StXPathPushNodeSet, StXPathSetPosition, and StXPathNextPosition script functions.
Returns
str
Example
$EvaluatedXPath = StEvalXPath("/data/message/b1/f2[position() <3]");
OpenText StreamServe 5.6 Updated: 2013-03-01