title: Can I edit xml using scala?
body: <p>Given that i have a Node</p>
  
  <pre><code>var xml = XML.loadFile("some/file/here")
  </code></pre>
  
  <p>what can i do should i want to change the value of some element to a new value</p>
  
  <p>That is, </p>
  
  <pre><code>...
  &lt;anElement&gt;5&lt;/anElement&gt;
  ...
  </code></pre>
  
  <p>to </p>
  
  <pre><code>...
  &lt;anElement&gt;blooblahblahyah&lt;/anElement&gt;
  ...    
  </code></pre>
  
  <p>Apologies if this is a pretty silly question, i'm incredibly new to Scala and haven't found any definitive answer on xml editing.</p>