Merge two XML files by matching elements by attribute value
问题 I have two XML files that I'm trying to merge. I looked at other previous questions, but I don't feel like I can solve my problem from reading those. What I think makes my situation unique is that I have to find elements by attribute value and then merge to the opposite file. I have two files. One is an English translation catalog and the second is a Japanese translation catalog. Pleas see below. In the code below you'll see the XML has three elements which I will be merging children on -