Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 21
Registered: ‎03-26-2012
My Device: balck berry 9550
My Carrier: sim

update on xml file

i have this format  of  xml in my application and  i succed  to read and parse it  but i didntt find the way to update this file add new element remove element and edit  element if it possible  any help with that thanx on advance


<?xml version="1.0" encoding="utf-8"?>
    <COUNTRY id="1" code="+93" name="Afghanistan" />
    <COUNTRY id="2" code="+355" name="Albania" />
    <COUNTRY id="3" code="+213" name="Algeria" />
    <COUNTRY id="4" code="+684" name="American Samoa" />
    <COUNTRY id="5" code="+376" name="Andorra" />
    <COUNTRY id="6" code="+244" name="Angola" />
    <COUNTRY id="7" code="+809" name="Anguilla" />
    <COUNTRY id="8" code="+268" name="Antigua" />
    <COUNTRY id="9" code="+54" name="Argentina" />







Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: update on xml file

if the file is included in the project you cannot change it. if it is on the sd card you can modify it.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter