Hi Mike,
Instead of assign xml, you can use append xml in expression editor. This would add row to existing xml.
Also, doc A doesn't look like it's in mii Rowsets/Rowset/Row format. MII's format doesn't have column name under row element.
Hope it helps.
Best Regards,
Swaroop