Free Support Forum -

Extract from one document- replace in another document w/first document's content

I'm currently evaluating the ASPOSE.WORDS tool and I would like to extract content from one document and replace tags in another document with the content I extracted. The content could contain text and/or an image.

The ExtractContentBetweenBookmark() method looks pretty straight forward as to retrieving the content from the source document, but how would I persist 4 or 5 bookmarks worth of content and then loop through the source document looking for tags and performing replace?


Thanks for your request. Please see the following link to learn how to extract content between nodes:

After this, you can try using the way described here to insert this content into another document:

Best regards,