tXmlMap, multiple loops and grouping

One Star

tXmlMap, multiple loops and grouping

Hello.
I'm using talend Open Studio 5.4 and tXmlMp. In both documents (input and output) I have multiple loops and can't set element as "group". When there is only one loop element, grouping is possible.
In this site https://help.talend.com/search/all?query=tXMLMap&content-lang=en are rules for grouping:
"To set a group element, two restrictions must be respected:
the root node cannot be set as group element;
the group element must be the parent of the loop element.
Once the group element is set, the first element except the loop one is used as condition to group the output data."
Why I can't set group element?
Moderator

Re: tXmlMap, multiple loops and grouping

Hi,
You cannot set group element If you set multiple loops in tXmlMap at same time. For your case, you can have a look at tAdvancedFileOutputXML with the 'append the source xml file' feature.
Best regard
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: tXmlMap, multiple loops and grouping

Any chance of getting the described functionality in the near future? I have the same situation where I need to loop on multiple sub-elements, but also need to group on those same sub-elements. Seems like if it can be done in one component, then it should be possible in another.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download