[jdom-interest] append to xml
gillius-ml at gillius.org
Thu May 3 14:01:50 PDT 2007
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).
> 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
More information about the jdom-interest