Tark
I did it differently.
I built the XML step by step.
I followed the manual and created a single string, considering the rules.
My flow became much smaller and simpler.
Anyway, I appreciate your help.
I think for XML, the ideal approach is to build it step by step, and if there’s any group that shouldn’t be included, to do it by rule.