how do i generate(insert and append a node to) an xml using dom parser. I want the xml to be physically visible and existing on the harddisk. Presently I am using the method Node strnode=null; strnode.setNodeValue("xyz"); It does create a node when i print it from the class. But it dosnt edit the physical file.The file remains as it is. I would like the file also to be edited so that I can use it for future data retrieval. Can someone help meeeeeeee???