how to do Serializtionf of a file
<p>i have a xml file named as default xml with sample contents as </p>

<pre><code>&lt;check&gt;hi&lt;/check&gt;
</code></pre>

<p>in my application i am doing an operation such that it wil operate on the xml and writes the new value to it, by overriding the newvalue on the oldone 
ex:</p>

<pre><code>&lt;check&gt;hi updated&lt;/check&gt;
</code></pre>

<p>and i closed my application now</p>

<p>my problem is here:</p>

<p>whenever i start application again i should get the contents of default xml as</p>

<pre><code>&lt;check&gt;hi&lt;check&gt;
</code></pre>

<p>instead of </p>

<pre><code>&lt;check&gt;hi updated&lt;/check&gt;
</code></pre>

<p>how can i achieve this ,can i have an steps to implement this r any sample code to implement this</p>

<p>i wil b thankful to ur valuable replies</p>
