Structure XML file

Hi, I get an XML file from my websites DB that isn’s structured correctly at all. How can I transform that file so the output is like my attached image. Imagine that all the info between de >< is correct in the input xml file but only has to be placed at the right lines in the right order.

Hi @blauwe

Welcome to the community, great to see more Dutch people finding n8n!

It would help to know what the input is that needs to be transformed into this output.
Also, the order of fields should not matter in most cases. Unless the receiving API is doing something really funky.

1 Like