XQuery Mediator

The XQuery mediator can be used to perform an XQuery transformation. The 'key' attribute specifies the XQuery transformation, and the optional 'target' attribute specifies the node of the message that should be transformed. This defaults to the first child of the SOAP body of the payload. The 'Variables for the XQuery mediator' define values/expressions that could be bound to the dynamic context of the XQuery engine in order to access those variables through the XQuery script.

Figure1: XQuery Mediator

Variables for the XQuery Mediator: Defines values/expressions that could be bound to the dynamic context of the XQuery engine in order to access those variables through the XQuery script.

Figure1: XQuery Mediator - Adding Variables

You have the following option in a variable.