XPath functions and operations in the BPEL mapper

Source: Internet
Author: User
Tags foreach expression functions xpath xpath functions

The XPath expression Editor is used to handle some business process elements. The following expression is allowed for each element: a copy expression, a conditional expression, or a time function use.

User interface

The BPEL mapper has an intuitive user interface that is easy to use. When you select a BPEL diagram element that can contain an XPath expression, a bpel mapper window appears. The BPEL mapper is used for the following business process elements: Assign, if, ElseIf elements of If, ForEach, Repeatuntil, while, and wait. Each element has an expression that is allowed, including a copy expression, a conditional expression, and a time function usage. The conditional expression is defined for the ElseIf element of if, if, while, and repeatuntil elements. The copy expression is defined for the Assign element. The duration expression is defined for the wait element. A conditional expression with a parameter is defined for a ForEach element. Using the BPEL Mapper interface, you can calculate: Assign the XPath operations and functions above to local and global variables, XSD elements and attributes, and parts.

In the context menu of the BPEL Designer Design view, these business process elements have the show BPEL Mapper item. The context menu is available when you close the BPEL mapper window. You can also open the XPath Expression Editor window by selecting Window > BPEL Mapper from the main menu.

You can edit the XPath expression in the source text of the BPEL file, as shown in Figure 1. The BPEL mapper displays the correct modifications, as shown in Figure 2.

Figure 1:bpel File's Source view

Figure 2:assign1 Add operation

Functions and operators used in the BPEL mapper

The BPEL Mapper supports version 1.0 of the XML Path language (XPath 1.0). The XPath language is a key part of the XML platform. The XPath language developed by the consortium is a language used to resolve parts of the XML document structure. This language has functions for manipulating strings, numbers, and Boolean values. The main syntactic constructs of XPath are expressions. As a result of processing an expression, an object that belongs to one of the following four basic types is displayed:

Node Collection-unordered collection of nodes with no duplicates

Boolean-True or False

Number-number with floating-point numbers

string-UCS symbol sequence

XPath languages Support numeric expressions, equality and comparison operations, and Boolean expressions. The BPEL Mapper supports some XPath operations and functions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.