I found this forum post: http://www.aspose.com/community/forums/thread/56116/error-when-copy-the-content-of-one-document-to-another.aspx
I'm trying to assign an Aspose.Words.Section variable to the variable "section" in this loop once my conditional logic has been satisifed (only interested in a section that has a whole set of bookmarks): foreach(Section section in doc.Sections) insertedSection = (Section)dstDoc.ImportNode(section, true, ImportFormatMode.KeepSourceFormatting); as little as possible because of slow performance. When I try to reinsert the same section from the source document into the destination document (just different bookmark results) with this code, master.Sections.Insert(index++, lastSession); I get the error, "The newChild was created from a different document than the one that created this node." Is there a workaround for this? Thanks!
This message was posted using Aspose.Live 2 Forum