tags:

views:

66

answers:

2

I want to create a .XML file and add or edit the elements under the root.

How do i do it? how to create a new XML file and edit the content to the same file using Java.

+2  A: 

http://www.java2s.com/Code/Java/XML/DOM-Edit.htm

Magesh
http://www.hiteshagrawal.com/java/modifying-editing-xml-document-in-java
Magesh
+1  A: 

Have a look at http://www.petefreitag.com/item/445.cfm

thelost