Use Parameters/Variables in Attributes
You can use parameters or variables directly in attributes for any EMML statement. For example:
<sort inputvariable="$toSort" outputvariable="$sortResult"
sortexpr="/records/record" sortkey="key"/>
<invoke service="$servicename" operation="$opname"
inputvariables="$opinput" outputvariable="service1Result"/>