I have a C# .Net web app using MVC3. I am using Aspose to create a document. I need to insert a calculated table into a pre-defined position in the output document. I’m not sure how to do this. Woulkd I use a bookmark in the destination doc? Use a textual tag. I’ve been doing this for text….
"Here's is my document's WIN Theme <<WinTheme>>. My code inserts the text into the tag"
I use the below code to insert the win theme. I would like to do something like for a table.
doc.Range.Replace(new Regex("[<][<]WinTheme[>][>]"), "text Being Inserted);
Actually, I retrieved the nodes in the document and looped through them. When I find the matching tag, I replace it with an emtpy string and then created a table and inserted using
Then continued looping appending the other nodes