I want to write xml file to DVD or CD.

i am using Linux platform, Qtcreator IDE.

I need API for read and write Functionality for DVD or CD.