Announcement (2017-05-07): www.ruby-forum.com is now read-only since I
unfortunately do not have the time to support and maintain the forum any
more. Please see rubyonrails.org/community and ruby-lang.org/en/community
for other Rails- und Ruby-related community platforms.
have you found an answer to your question?
How about looking into the REXML library... this way you can load your
two XML and append your XML2 content to one of the element in XML1