Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

Problem with adding an XML node to an existent XML File

 
Hugo Alberto Bedolla
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Report post to moderator
I got a problem when trying to write a new node to an xml file, basically the new node isn't appended to the file. I tried to write to another file, but in both cases, only the old data appears... what am I doing wrong? :S


Here's my code:

Thanks in advance.
 
Pranav Raulkar
Ranch Hand
Posts: 73
Android Java Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
Have a look at this

http://www.daniweb.com/software-development/java/threads/255757

Hope this helps.
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hugo, please UseOneThreadPerQuestion. This is the same question as here. Since the other thread has more replies I'm closing this one.
 
    Bookmark Topic Watch Topic
  • New Topic