ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: BPEL question
Date Fri, 10 Nov 2006 22:56:46 GMT
On 11/10/06, Jackson, Douglas <djackso2@ugs.com> wrote:
>
>
> <switch xmlns:xxx="http://xxxns">
>
>      <case condition="bpelx:getVariableData('xxx-msg', 'xxx-part',
> '/xxx:xxx/yyy') ???">
>
>           do something...
>
> </switch>
>
>
>
> Won't the xpath for the query above fail since the yyy element is not
> there?


Doug,

An XPath expression can be asked to return a node set, boolean, integer or
string. In this case, the XPath expression is expected to return a boolean
value. For an expression like this, the value is true if there's one or more
nodes, zero if no node can be selected.

Assaf


Thanks in advance,
>
> -Doug.
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message