Hi @jan, thanks for the help. Finally, it was easier to get the xml in utf-8 (originally it was utf-16 as I found out). After this change, finishing my first n8n workflow was a piece of cake .
I wonder if I can get some help for this error? Putting a function node to run .replace() returns an error that replace is not a function. I am struggling to understand how n8n works.
To be able to help please share the code you have in the Function-Node. You can also find the documentation here: Function - n8n Documentation
which will also probably help you to figure out what is going wrong.
Generally does a Function-Node have to return an array of objects.
If you get the message the replace is not a function, I assume that whatever variable you try to run replace on, is not actually a string.