What's a good way to process RTF-encoded files and convert them to XML?
Asked Answered
S

1

8

I have never done huge amounts of RTF processing, I always used a library to read or generate one and that was a long time ago. Now I need to get more intimate with the format again, and eventually convert it to XML.

Can you recommend a good path to do it so that I have a lot of control on how RTF chunks are parsed and processed?

Initially, I am thinking Perl plus a few good libraries would be a good choice, but all opinions are welcome.

Siamang answered 14/10, 2008 at 9:9 Comment(0)
K
4

RTF Manual? Seriously though, a quick google turns up all sorts of tools and libraries. Why reinvent the wheel?

Kuchen answered 14/10, 2008 at 9:16 Comment(4)
Why reinvent the wheel? Because it is fun? Now, that's good for a pet project, not for real world ones with expected results and timelines, indeed... :-PUntwist
Because existing wheels suck? Not saying that necessarily applies here, but in the past i've ended up panning RTF tools for exactly the reason he describes: lack of control over how they're handled.Opera
then why ask questions here if your response is "rtfm"? can,t the same response be put on EVERY question on SO?Outlaw
Aw come on... how often do you get to point someone at a real manual about RTF - how could I resist?Kuchen

© 2022 - 2024 — McMap. All rights reserved.