ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jackson, Douglas" <djack...@ugs.com>
Subject BPEL question
Date Fri, 10 Nov 2006 22:12:52 GMT

I have a BPEL question that is not specific to ode.


If I have an xml element or message in a variable, and it has an
optional field:


<xsd:element name="xxx" xmlns="http://xxxns">



             <xsd:element name="yyy" type="xsd:string" minOccurs="0"/>





and in my BPEL process I want to find out if that field is present in
that element, then

how would I write the BPEL:


 <switch xmlns:xxx="http://xxxns">

     <case condition="bpelx:getVariableData('xxx-msg', 'xxx-part',
'/xxx:xxx/yyy') ???">

          do something...



Won't the xpath for the query above fail since the yyy element is not


Thanks in advance,



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