Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello to all I would like to know is that there is someone among you who can tell me what is the difference between a loop and optional loop in a txmlMap
Hi,
When the corresponding element exists in the source file, an optional loop element works the same way as a normal loop element; otherwise, it resets automatically its parent element as loop element or in absence of parent element in the source file, it takes the element of the higher level until the root element. But in the real-world practice, with such differences between the XML tree and the source file structure, we recommend adapting the XML tree to the source file for better performance.
https://help.talend.com/reader/1~9OqzgTIX~HofOefoxthg/NB2Z_yYzfCDtDebnAMfmaA
As I understand it, the optional loop is the same as the loop, except when the source is not the same as the XML tree, and this loop may not exist.
Thanks