[jdom-interest] append to xml
pajeczyca at gmail.com
Fri May 4 11:38:10 PDT 2007
yes, I'm blind... i forgot to use xmlOutputter.
Thank you all for help
Jason Winnebeck wrote:
> Did you write the file back out? I know it's obvious but you didn't
> mention it
> in your code (and you showed the loading).
> pajeczyca wrote:
>> I am trying to appent to existing xml, but something doesn't work
>> what am i missing??
>> My code
>> doc = new SAXBuilder()build("file.xml");
>> Element e = new Element("person");
>> e.setAttribute("name", "Joe");
>> I get no errors but my xml file is not changed
>> Thank you
> To control your jdom-interest membership:
View this message in context: http://www.nabble.com/append-to-xml-tf3688462.html#a10327887
Sent from the JDOM - General mailing list archive at Nabble.com.
More information about the jdom-interest