Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

[resolved] Merging two loop in Data Mapper

Hi,
I have a basic requirement but cannot find a way to do that in TDM.
For instance, I have an input file like :
<ROOT>
  <POs>
    <PO>
      <Number>1</Number>
    </PO>
    <PO>
      <Number>2</Number>
    </PO>
  </POs>
  <ORDERs>
    <ORDER>
      <Num>3</Num>
    </ORDER>
    <ORDER>
      <Num>4</Num>
    </ORDER>
  </ORDERs>
</ROOT>

And I want to merge the two loops to get in the output file :
<ROOT>
  <POs>
    <PO>
      <Number>1</Number>
    </PO>
    <PO>
      <Number>2</Number>
    </PO>
    <PO>
      <Number>3</Number>
    </PO>
    <PO>
      <Number>4</Number>
    </PO>
  </POs>
</ROOT>

I cannot figure out out how to do that because the output loop cannot mix both input loop.
If someone has suggestions that would be great ?
Regards.
Eric

Labels (2)
1 Reply
_AnonymousUser
Specialist III
Specialist III
Author

I found it... Just splitting a loop...