ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jackson, Douglas" <djack...@ugs.com>
Subject BPEL 2.0 assignment question
Date Tue, 08 Jan 2008 16:19:29 GMT

I wanted to do something like the following.  Construct an xml element
and assign it to a variable.  I am trying to do so by concatenating some
xml together as a string and assign it to a variable and have it
converted to the type of the variable.  Is there a way to do this or do
you have to assign an element to the variable and then fill in the

       <variable name="info-var" element="test:info"/>


            <from>concat('&lt;info xmlns=&quot;http://test&quot;>',
                   '&lt;id>', $id, '&lt;/id>',
                   '&lt;cid>', $cid, '&lt;/cid>',
                   '&lt;rid>', $id, '&lt;/rid>',
                   '&lt;message>', 'some text', '&lt;/message>',
                   '&lt;user>', $user, '&lt;/user>',
            <to variable="info-var"/>

View raw message