The thing is, the same expression works the way we want in ActiveVOS
(i.e. it returns the string "2") while it works as I explained
previously in ODE (it returns "2.0"). Do you mean that if we used xpath
2.0 then this expression would work correctly in ODE? But AFAIK
ActiveVOS does not have xpath 2.0 support..
Matthieu Riou wrote:
On Thu, Apr 2, 2009 at 6:22 AM, Serkan Camurcuoglu <
[email protected]> wrote:
Hi all,
We have a problem with assigning from an int variable to a string variable.
For example, when we assign an int variable with a value of 2 to a string
variable using the string() function, the result string is "2.0". However,
the partner link that we call requires it to be "2". I know we can overcome
this problem by using substring etc. but we want our bpel code to run on
multiple bpel engines (e.g. both ODE and ActiveVOS) so we need a standard
solution. Is there a better way to achieve this conversion?
Does ActiveVOS has XPath 2.0 support? I haven't tried this particular
conversion but my guess is that it would work a bit better.
Matthieu
Best regards,
SerkanC