Free Support Forum -

Converting RTF to XML

I need to convert .rtf files to .xml format. Are there any help files / tutorials on this?


Thanks for your inquiry. Do you mean WordML format? If so then you can use this code.

Document doc = new Document(“input.rtf”);

doc.Save(“output.xml”, SaveFormat.WordML);

I hope that this will help you.

Best regards.