IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Building mediation flows
Create XPath expressions
Some mediation primitives have properties that are specified using an XPath 1.0 expression; for example the root property takes an XPath 1.0 expression which specifies the part of the message that is available to the primitive for processing. The XPath Expression Builder provides a navigation tree of the message, and allows you to specify an XPath 1.0 expression.
If you are in a field which accepts an XPath expression, you can press Control+Space to get code-assist. This will provide you with available XPath functions and operators for your expression. For more information about using XPath 1.0 see the following websites:
- http://www.w3.org/TR/xpath - Information about XPath 1.0
- http://www.w3schools.com/xpath/default.asp - W3 Tutorial on XPath 1.0
- http://www.ibm.com/developerworks - IBM DeveloperWorks articles. Use the search box to find topics on XPath 1.0
- XPath
The XML Path Language (XPath) is a language used to uniquely identify or address parts of an XML document. An XPath expression can be used to search through an XML document, and extract information from the nodes (any part of the document, such as an element or attribute) in it. XPath can be used alone or in conjunction with XSLT.- XPath Expression Builder
The XPath Expression Builder allows you to quickly and easily create or edit an XPath 1.0 expression.- Use the XPath Expression Builder
The XPath expression builder allows you to easily create simple or complex XPath 1.0 expressions.- XPath Example: Mediation Flow
This topic shows how XPath is used in a Message Filter primitive to route the message to different terminals based on the conditions set.- Example: Setting filters in Xpath expressions
This example shows how to apply a filter on a repeatable field using the XPath Expression Builder.- Example: Using conditions in XPath expressions
This example shows how to add a condition to evaluate an expression on a field, using the XPath Expression Builder.