I have a need to merge one XML document into another. I'm hoping for a more direct way than the one I've come up with.
Given two documents where I want to put B inside A, I can convert B to a string, surround the string with a new node, then parse it into A, then being adding new nodes to A.
What I'd prefer is something like:
That would be a thing of beauty, but I don't see an addXmlNode in: