We are trying to insert a srcDoc in a dstDoc.
Actually we have a pdf document. We have converted this pdf doc to docx document using aspose pdf.
We are considering this converted docx doc as dstDoc.
We are now trying to insert a srcDoc(docx) after a paragraph node in dstDoc.
We have tried multiple approaches and observed that the src doc is printing at the top of the page.
We have iterated the document object at node level and used importNode method insertAfter methods for inserting srcDoc after a paragraph in dstDoc.
This inserts the data from dstDoc to srcDoc. But the inserted value can be seen at the top of the page.
Please let us know the way to achieve document insertion at a paragraph node or replacing pargraph with document.