T
tosenr
I was trying to write an object into a xml file more like a database. I
have this class called write to file. I am reading my var from a swing
gui I created. Need help
public String writeToFile(String Name, String Address String phone)
{
name = Name;
address = Address;
phone =Phone ;
}
You kind of get the idea. What I want to do is this to writer a xml
file that on my c drive. I tried a few things but it still not working.
Now what I am doing is using buffer reader to write to and read form a
txt file assign the tags "</>" while I passing in the string
individually and force it to save as xml. I know this sucks that is why
I need some help. I have tried appending new childNode on to parentNode
it did not work for me. I think I have the code wrong.
have this class called write to file. I am reading my var from a swing
gui I created. Need help
public String writeToFile(String Name, String Address String phone)
{
name = Name;
address = Address;
phone =Phone ;
}
You kind of get the idea. What I want to do is this to writer a xml
file that on my c drive. I tried a few things but it still not working.
Now what I am doing is using buffer reader to write to and read form a
txt file assign the tags "</>" while I passing in the string
individually and force it to save as xml. I know this sucks that is why
I need some help. I have tried appending new childNode on to parentNode
it did not work for me. I think I have the code wrong.