First of all I would like to welcome you to the forums and I hope you enjoy your stay here. Also you can use Introduce Yourself
forums to intoduce yourself.
Now coming to your query. If you are looking for something in PH as you have posted in PHP forums then I dont think the link will help but you can have a look at it.
Also there is source code available for rtf to xml here is the link