Subject:input parameter Author:Ivan Pedruzzi Date:15 Aug 2016 06:16 PM
In XQuery parameters are called external variables. Search for it you will find plenty of examples, here one
declare variable $x as xs:string external;
If you defined an external variable in your query, it will automatically show in the scenario's Parameter Values tab, there can associate a value for testing purpose.
In the XQuery editor do Java code generation to see how to bind an external variable programmatically.