Move a set of XML elements to another file.
As a part of my workflow I need to move a set of existing XML elements from one document into the maching parent container of another document.
For example:
Doc1
<Root>
<container>
<Item1/>
<Item2/>
<Item3/>
</container>
</Root>
Doc2
<Root>
<container>
<Item1/>
<Item2/>
<Item3/>
</container>
</Root>
Should become:
Doc1
<Root>
<container>
<Item1/>
<Item2/>
<Item3/>
<Item4/>
<Item5/>
<Item6/>
</container>
</Root>
Where items 4-6 are moved over from Doc 2 into Doc 1.
I have been trying to modify the "ExtractSubset.jsx" script from the scripting SDK, but have not had any luck. Any help would be appreciated!
