...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Syntax
Code Block | ||||
---|---|---|---|---|
| ||||
<xquery key="string" [target="xpath"]> <variable name="string" type="string" [key="string"] [expression="xpath"] [value="string"]/>? </xquery> |
...
UI Configuration
- Key Type - Specifies either Static or Dynamic Key type.
- Key - The key that represents the XQuery transformation. It can be chosen either from the Configuration Registry or Governance Registry. Refer to more information about the Registry Browser in Namespace.
Target -Specifies the node of the message that should be transformed using an XPath expression.
Info title Tip Default to the first child of the SOAP body.
Info title Tip You can follow this link to add namespaces if you are providing an expression. You will be provided another panel named "Namespace Editor," where you can provide any number of namespace prefixes and URL that you have used in the XPath expression.
...
Info | ||
---|---|---|
| ||
You can configure the Mediator using XML. Click on "switch to source view" in the "Mediator" window. |
...
Examples
1.
Code Block | ||||
---|---|---|---|---|
| ||||
<xquery key="xquery\example.xq"> <variable name="payload" type="ELEMENT"/> </xquery> |
...