
XPath Expression Builder
You can use the XPath Expression Builder to create or edit an XPath 1.0 expression.
The XPath Expression Builder is available in various editors. You can typically open it by clicking Edit in the Properties view of an artifact.
Tip: For messages
in mediation flows, wire the primitive's input terminal before you
open the XPath Expression Builder so that the complete message is
available in the data types viewer.
Type your XPath expression directly in the text box. If you are new to XPath, click Insert Simple XPath to open the Simple XPath Expression Builder, which guides you through building an XPath expression. You can also insert a simple XPath expression into an expression already in the text box. The expression that you build with the Simple XPath Expression Builder is inserted at the current cursor location in the text box.
Note: If you enter an invalid expression, the editor
displays a warning or error message at the top of the window.
If you are in a field that accepts
an XPath expression, you can press Ctrl+Space to get content assist.
Content assist provides you with available XPath functions and operators
for your expression. For more information about using XPath 1.0, see
the following resources:
- http://www.w3.org/TR/xpath - Information about XPath 1.0
- http://www.w3schools.com/xsl/xpath_intro.asp - W3 Tutorial on XPath 1.0
- http://www.ibm.com/developerworks - IBM® DeveloperWorks articles. Use the search box to find topics about XPath 1.0