The global parameters of the XQuery file used in a transformation scenario can be configured by using the Parameters button in the XQuery tab.
The resulting dialog box includes a table that displays all the parameters of the current XQuery file, along with their descriptions and current values. You can also add, edit, and remove parameters, and use the Filter text box to search for a specific term in the entire parameters collection. Note that edited parameters are displayed with their name in bold.
If the XPath column is selected, the parameter value is evaluated as an XPath expression before starting the XQuery transformation.
Example:
doc('test.xml')//entry
//person[@atr='val']doc('${cfdu}/test.xml')//*Below the table, the following actions are available for managing the parameters:
Insert Editor Variables button. If the Evaluate as
XPath option is selected, the parameter will be evaluated as an XPath
expression.
Insert Editor
Variables button. If the Evaluate as XPath option
is selected, the parameter will be evaluated as an XPath expression.