Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

For-loop with counter variable in xquery in OSB

RAMMIIMar 30 2014 — edited Mar 31 2014

I have below xml. I have to compare PRIMARYID field value in each node and if it is same, ClaimID field should be updated with same value else it should not get updated. Can anyone tell me how to do this in OSB. Thanks.

<InputParameters>

<choice>

    <ClaimID>12</ClaimID>

    <FACILITYID>123456</FACILITYID> 

    <PRIMARYID>1234</PRIMARYID>

  </choice>

  <choice>

    <ClaimID>13</ClaimID>

    <FACILITYID>123456</FACILITYID>

    <PRIMARYID>1234</PRIMARYID>

  </choice>

  <choice>

    <ClaimID>14</ClaimID>

    <FACILITYID>123456</FACILITYID>

    <PRIMARYID>2345</PRIMARYID>  

  </choice>

  <choice>

    <ClaimID>15</ClaimID>

    <FACILITYID>123456</FACILITYID>   

    <PRIMARYID>2345</PRIMARYID>   

  </choice>

</InputParameters>

This post has been answered by Josh-Oracle on Mar 31 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2014
Added on Mar 30 2014
5 comments
5,473 views