XML Joiner and Replacing Values

Hi, I have got a workflow that I am bit struggling with.

It’s a complex workflow and difficult to explain it all here but the scenario I am struggling with is that I have an XPATH node that picks up specific part of an XML. This XML has got Tags like etc. etc.

I have another xml and I want to find the identifier from first xml and replace the name in this XML with the name from previous XML.

ANy ideas how this can be achieved?

Many thanks in advance.

Maybe you could check out whether it makes sense to get xml into a table in KNIME and do the replacement there and then convert it back into xml format using KNIME nodes