# saxon:eval()

saxon:eval($stored-expression as jt:net.sf.saxon.functions.Evaluate-PreparedExpression [, $paramN as item()*...]) ==> item()*

This function returns the result of evaluating the supplied stored expression. A stored expression may be obtained as the result of calling the saxon:expression function.

The stored expression is evaluated in the current dynamic context, that is, the context node is the current node, and the context position and context size are the same as the result of calling position() or last() respectively.

The second and subsequent arguments to `saxon:eval` supply values for the variables `$p1`, `$p2`, etc within the stored expression. For details see saxon:expression.

Next