The chaining functions
When performing the transformations, we sometimes find ourselves in a situation where there is no single operation to perform a transformation the way we want. For example, let's say we would like to first trim two strings and then concatenate them. Since we don't have a single function to perform the task, the XSLT mapper in JDeveloper offers us the functionality of the chaining functions. In this recipe, we will examine how to chain the functions in order to present the complete information from the source to the target content.
Getting ready
We will amend the example from the Using the functions in the transformation operations recipe. We will amend the BPEL process so that we now map the correct source content to the target content.
How to do it…
We will perform the action of concatenating the
price
element with its money unit. First, we open the XSLT mapper.Then, pick the concat function from the Component Palette (String Functions). Place it in the box where we calculate...