Re: Create Element using DOM in JAVA

2001-04-19 Thread Joseph_Kesselman
Modifying the DOM only modifies the in-memory copy of the document. To generate new file content, you have to serialize the DOM's contents out to that file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Create Element using DOM in JAVA

2001-04-19 Thread Vikas Jolly\(Yahoo\)
Hi ALL I am new to XML and i am trying to create a simple element using the DOM. My problem is that no data is stored in the xml file. Following is my code. import java.io.*; import org.w3c.dom.*; import com.ibm.xml.parsers.*; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.p