AnsweredAssumed Answered

How to parse XML array to flat structure

Question asked by venkat313 on Mar 22, 2017
Latest reply on Mar 23, 2017 by Lee Sobotkin

Hi to All..

 

I am new to DELL Boomi. Facing a bit complex mapping requirement in my first assignment and need help from you guys.

 

Want to map below xml profiles. <Report> nodes would be unlimited.

 

Source Profile

<Student>

<Name>Venkat</Name>

<Report>

  <Subject>Maths</Subject>

   <Marks>80</Marks>

</Report>

<Report>

  <Subject>English</Subject>

   <Marks>70</Marks>

</Report>

.

.

.

<Report>

  <Subject>Science</Subject>

   <Marks>90</Marks>

</Report>

</Student>

 

Target Profile

<Student>

<Name>Venkat</Name>

<Maths>80</Maths>

<English>70</English>

.

.

<Science>90</Science

</Student>

 

Please let me know which one is best solution for this ask.

Since i am not from programming background, some Groovy sample would be great help.

 

Thanks,

Venkat

Outcomes