7.7. x:call

(x:call name args*)

Calls an XPath function name with zero or several arguments. The argument name should be a string. Each args* should be a valid SXML. The result of executing the function is converted to SXML.

Example 42. Using x:call

<s:scheme>
  (write (x:call "generate-id"))
  (write (x:call "concat" "ab" "cde" "fgh"))
</s:scheme>