...
Hierarchy XPath
Include Page | ||||
---|---|---|---|---|
|
Mappings
Options to map the result data.
...
- For expression loops over Instance nodes that are located on root level and assigns them to parameter $i
- Let expression gathers several information depending on instance, workitem and form data
- Where expression applies criteria on the data. Control parameters used in this section are declared in Parameters section on the same window.
- Order expression orders the result according to the given value
- Result expression returns the result data in the specified XML format
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
for $unit in ProcessSettings/ResponsibleUnits/Unit[Name=$respUnit]
let $mainResp := $unit/MainResponsible
let $modifiedNode := (
copy $b:=$mainResp
modify rename node $b as 'ProjectManager'
return $b
)
return $modifiedNode |
The example above demonstrates how you can rename a node before returning it. This usage does not affect the original node name, only the returning node name is changed.
There are many more examples, including this rename operation, in XQuery section.
See Also
...