ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert" <boisv...@intalio.com>
Subject Re: array copy
Date Fri, 02 May 2008 14:41:25 GMT
On Thu, May 1, 2008 at 11:07 PM, Paul Brown <paulrbrown@gmail.com> wrote:

>
> On May 1, 2008, at 7:37 PM, Mark Panahi wrote:
>
> > Is there a way get the length of the array and iterate through all the
> > elements to copy it over? I have not seen any tests in ODE that deal
> > with
> > arrays,
> >
>
>
> You can use the XSLT function -- bpws:doXslTransform.  For an example,
> check out:
>
>        bpel-test/src/test/resources/bpel/2.0/TestXslTransform


Or use the count(path/to/your/elements) XPath function and loop using
<foreach> activity.

Using XSLT is probably a better solution:  more efficient and more idiomatic
for a complex XML transformation inside a business process.

alex

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