pc:evaluate |
Executes a script section or resolves an attribute, and returns the result value (the outcome). pc:evaluate is the counterpart of pc:void, which nullifies the result value. Syntax
You can use pc:evaluate if you are interested in having an attribute resolved (as in Example 1) and you want the script to produce the result value.
Example 1
Example 2 As its second argument, the strings:ReplaceVariables function takes an XPath expression, which references the XML content of the pc:evaluate element.
See also |