title: Edit contents of embedded SVG file using javascript
body: <p>I have an SVG file with some math equations. Lets say I include this file into my html document. Now what I'd like to do is to make some simple modifications to the contents of the svg using javascript in the html document.</p>
  
  <p><strong>A specific example</strong><br>
  My svg file contains a nicely formatted version of this equation:  </p>
  
  <blockquote>
    <p>x^2 + 2x + 1 = 0</p>
  </blockquote>
  
  <p>and I'd like to make the following changes:  </p>
  
  <ol>
  <li>Color the x^2 red</li>
  <li>Remove 2x from the equation</li>
  </ol>
  
  <p>Thanks.</p>