[jdom-interest] append to xml
    pajeczyca 
    pajeczyca at gmail.com
       
    Thu May  3 12:20:57 PDT 2007
    
    
  
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");
doc.getRootElement().addContent(e);
I get no errors but my xml file is not changed
Thank you
Agnes
-- 
View this message in context: http://www.nabble.com/append-to-xml-tf3688462.html#a10311555
Sent from the JDOM - General mailing list archive at Nabble.com.
    
    
More information about the jdom-interest
mailing list