How do you pass multiple context variables with a Message content type through an Apply XSL Transform assertion?
Within the Apply XSL Transformation Assertion, there is some XPath logic that need to be performed on multiple data sources. The business need requires:
(1) To pass multiple XML data sources the Apply XSL Transformation Assertion.
(2) The XML data sources must have a Message content type or they can't be used in the XPath logic.
Release: L7SGA299000-9.2-API Gateway SOA Gateway-HARDWARE APPLIANCE DUAL CPU
By design, you cannot pass multiple context variables through an Apply XSL Transformation Assertion.
+ The recommended resolution is to concatenate the two XML context variables into one context variable and use the concatenated context variable as the Target Message.
+ Use the Evaluate Regular Expression Assertion to remove the extraneous <?xml version="1.0" encoding="UTF-8"?> tags.
Attached is an example of how to concatenate two XML context variables.