Java replacing / removing / writing text in a certain spot in a txt file
<p>So they the file I wanna edit is this,</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;UserSettingsXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;AuthType&gt;Google&lt;/AuthType&gt; &lt;!-- Google/Ptc --&gt;
  &lt;DefaultLatitude&gt;425&lt;/DefaultLatitude&gt; 
  &lt;DefaultLongitude&gt;5555&lt;/DefaultLongitude&gt; 
</code></pre>

<p>The places I wanna edit, and remove text from is </p>

<pre><code>  &lt;DefaultLatitude&gt;425&lt;/DefaultLatitude&gt; 
  &lt;DefaultLongitude&gt;5555&lt;/DefaultLongitude&gt; 
</code></pre>

<p>I've googled a bit but couldn't find what I was looking for.</p>