title: How to change the specific line in an XML file?
body: <p>I have a really long config file(not my own) and I want to change a specific line in it.</p>
  
  <p>I need to change the ServerPort value to 12345 for example, but without the code knowing the actual number..(the 26900).</p>
  
  <p>this is a very small part of the config file:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;ServerSettings&gt;
    &lt;property name="ServerPort"               value="26900"/&gt;             &lt;!-- Port you want the server to listen on. --&gt;
    &lt;property name="ServerIsPublic"           value="true"/&gt;              &lt;!-- Should this server register to master server --&gt;
    &lt;property name="ServerName"               value="My Game Host"/&gt;      &lt;!-- Whatever you want the name to be. --&gt;
    &lt;property name="ServerPassword"           value=""/&gt;                  &lt;!-- Password to gain entry to the server --&gt;
    &lt;property name="ServerMaxPlayerCount"     value="8"/&gt;                 &lt;!-- Maximum Concurrent Players --&gt;
    &lt;property name="ServerDescription"        value="A 7 Days to Die server"/&gt; &lt;!-- Whatever you want the description to be. --&gt;
    &lt;property name="ServerWebsiteURL"         value=""/&gt;                  &lt;!-- Website URL for the server --&gt;
  </code></pre>