The XQuery Expression Editor, the XQuery Condition Editor, and the XPath Expression Editor all provide text fields in which you can build expressions by typing directly or by pasting items from the palettes.
Before you begin
These instructions assume you are creating or editing an expression in the XQuery Expression Editor, XQuery Condition Editor, or XPath Expression Editor, as described in Creating and Editing Inline XQuery and XPath Expressions.
To build an expression in a text field:
Note: | Selecting any of the above links displays a text field where you can create a complete expression appropriate for the context. However, the tools and techniques described in this topic can be used wherever text fields are provided in the editors, for example when binding variables from imported resources to the inline expression, as described in Binding External XQuery Resources to Inline XQueries and Binding External XSLT Resources to Inline XQueries. |
Palette
|
Description and Use
|
Namespace Definitions
|
Lists default AquaLogic Service Bus namespaces, variable namespaces, and user-defined namespaces. Namespace abbreviations are listed when defined.
Scroll through the lists to find the desired namespace.
You can also define a namespace. See
Creating Namespaces to Use in Inline Expressions.
|
XQuery Functions
|
Contains a set of standard XQuery functions, organized alphabetically and by type:
Expand or collapse nodes in the tree by clicking the plus sign (+) or minus sign (-).
See also:
|
Variable Structures
|
Displays variables and their contents as trees, which can help you to visualize.
To display a variable structure and its contents
You can also define your own variable structures. See
Creating Variable Structures in the XQuery Editors.
Variable structures do not create variables. Variables are created at runtime as the target of the Assign action in the stage.
When you insert an item from the a variable structure tree into the text field, it is inserted as an XPath expression that describes the path.
See also
XQuery Transformations.
|
After you finish
Continue configuring the action, as described in Adding and Editing Actions in Message Flows.