Look, you wanted to place the table present in the XML into the cell you have made in the code. You have to perform the following steps to get your desired results:
1. Binding XML to Pdf object
2. If you remember table Id in XML and Section, then you can use the below statement otherwise you need to loop through to get to your required table, which you need to Add inside New Table cell.
Table table1 = sec1.Paragraphs["Table1"] as Table;
3. When you get table1, then create new Table using the statement you have written above like :
Table newTable = new Table(); //create a new Table (copy destination)
Row row = newTable.Rows.Add(); // create a new Row
Cell cell = row.Cells.Add(); //create the destination Cell for the "table1"
4. Now you have to add table1 to cell. Use the following statement to add it into the cell.
//Add the nested table into the paragraphs collection of the cell
Just to add to your knowledge, that Table is also a paragraph in Aspose.Pdf DOM. You can have more knowledge on Aspose.Pdf DOM. Please refer to :
Hope it works! Should you have any queries, please feel free to ask.