In a message flow, use the rename action to rename elements selected by an XPath expression without modifying the contents of the element.
In the Message Flow Editor, click a rename action to display its properties in the Properties view. Use these properties pages to configure the selected rename action. The pages are:
The Rename page has the following options:
Option
|
Description
|
---|---|
XPath
|
An XPath expression used to specify the data (in the named variable) that will be renamed.
To create or edit the XPath expression, click <XPath> (or the XPath_fragment, if one is already defined) to display the
XPath Expression Editor.
|
In Variable
|
The context variable that holds the element you want to rename.
Enter the name of the variable in this field.
|
Localname
|
A local name to use to rename the selected elements.
Enter the local name in this field.
|
Namespace
|
A namespace to use when renaming the selected elements.
Enter the namespace in this field.
|
Use the Comment page to add a comment, if desired:
Use the Namespaces page to see a list of defined namespaces or to create a new one.
Use the Variables page to see a list of defined context variables or to create a new one. For more information about context variables, see Message Context in the AquaLogic Service Bus User Guide.