You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Vipul Sabhaya <vi...@hotmail.com> on 2007/05/10 23:40:39 UTC

manipulating XML in ODE

If i have a variable in BPEL that is XML content, are there ways to manipulate this XML (append child, insert-before, insert-after, etc) in ODE?
 
I need to manipulate an XML parameter before invoking a PartnerLink.
 
Thanks.
_________________________________________________________________
Add some color. Personalize your inbox with your favorite colors.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0507

Re: manipulating XML in ODE

Posted by Alex Boisvert <bo...@intalio.com>.
Easiest is to use an XSL transformation:

<bpel:assign>

    <bpel:from>bpel:doXslTransform("foo.xsl", $foo)</bpel:from>

    <bpel:to variable="foo" />

</bpel:assign>


alex


On 5/10/07, Vipul Sabhaya <vi...@hotmail.com> wrote:
>
> If i have a variable in BPEL that is XML content, are there ways to
> manipulate this XML (append child, insert-before, insert-after, etc) in ODE?
>
> I need to manipulate an XML parameter before invoking a PartnerLink.
>
> Thanks.
> _________________________________________________________________
> Add some color. Personalize your inbox with your favorite colors.
>
> www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0507