Hi all,
I want to compare different value of a node with occurrence 1..n.
I need to put into value1 the integer with the max value of the n nodes.
For example:
I have this structure:
<MAIN>
<NODE>
<value1></value1>
</NODE>
</MAIN>
In my case, i recieved this file:
<MAIN>
<NODE>
<value1>1</value1>
</NODE>
<NODE>
<value1>2</value1>
</NODE>
<NODE>
<value1>3</value1>
</NODE>
</MAIN>
Exist any form (in JAVA or UDF wiithout ccBPM & PBM ) to compare elements of different nodes (node ocurrence 0 [value 1] with node with ocurrence 1 [value 2])?
The solution should be:
<MAIN>
<NODE>
<value1>3</value1>
</NODE>
</MAIN>
Thanks.
Regards.