On Thu, May 1, 2008 at 11:07 PM, Paul Brown <[EMAIL PROTECTED]> 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

Reply via email to