bpelx:rename in BPEL 2.0
The following provides an example of bpelx:rename
syntax in a BPEL project that supports BPEL version 2.0. In BPEL 2.0, the functionality is the same as described in bpelx:rename in BPEL 1.1, but the syntax is slightly different. An extensionAssignOperation
element wraps the bpelx:rename
operation.
<bpel:assign> <extensionAssignOperation> <bpelx:rename elementTo="QName1"? typeCastTo="QName2"?> <bpelx:target>$ncname[.ncname][/xpath_str]</bpelx:target> </bpelx:rename> </extensionAssignOperation> </bpel:assign>