Function Signature: node-set xdMath:eval(XPath Expression, XSLT Expression)

This function MUST take two parameters:

  • XPath Expression: MUST be an XPath expression that returns a node-set. XPath expression is specified in [XPATH]. Node-set is specified in [XPATH] section 3.3.

  • XSLT Expression: MUST be a valid XSLT expression, as specified in [W3C-XSLT] section 4.

The function MUST apply the XSLT expression to every node in the node-set and return the resulting node-set.