I would like to write some content to a XML file. For that I have created a XML file and writen tags with element, attribute and value with some data like this:
Please check this link I used this & it worked fine & also it will solve your problem.
http://www.anddev.org/write_a_simple_xml_file_in_the_sd_card_using_xmlserializer-t8350.html.
Yes you can add new tag also.