Re[jdom-interest] placing elements in a given XML file

nepnep cpetrover at gmail.com
Tue Feb 16 04:22:49 PST 2010


I am looking for a way to change element's text in a XML file.
I want the changes to be saved in that file!!

The XML file is:

<root>
   <attack>
       <test>
          <analysis>
              <name>Element's Name</name>
              <value>20000</value>
          </analysis>
       </test>
   </attack>
</root>

I want to change only the value , let's say, to 10000.

I'd be very happy if someone can help me with that one,
Thanks.
-- 
View this message in context: http://old.nabble.com/Replacing-elements-in-a-given-XML-file-tp27606018p27606018.html
Sent from the JDOM - General mailing list archive at Nabble.com.



More information about the jdom-interest mailing list