I am a Java developer that has been tasked to do some research into an ASP.NET system. I have no experience with any .NET so I would appreciate basic answers :)
Scenario: I read in an rtf document which is a letter template from a db, I then need to merge information taken from the user via a web UI, into the relevant fields in the RTF. Finally, I need to convert the RTF to a .docx file and send to the client machine.
Can you please advise me:
-Would Open XML provide libraries to convert a docx to an XSL FO?
I would really appreciate your help on this. thank you :)
As I understand you want to use RTF files as templates in the document generation (mail merge) process but the output should be MS Word document. Open XML SDK will not help you here. For converting from RTF to .docx you can check out Aspose library.
But if you can use MS Word documents as templates instead of RTF documents you can use Open XML SDK to create your own document generation solution or use existing products like Docentric or FlexDoc which are both template based solutions.