title: PyV8, can I manipulate DOM structure?
body: <p>Lets assume that we have PyV8:</p>
  
  <pre><code>import PyV8
  ctxt = PyV8.JSContext()
  </code></pre>
  
  <p>and a python DOM structure, for example <code>xml.dom</code>  </p>
  
  <p>How can I feed a .js-file to PyV8 so that it could change DOM-structure that I have.<br>
  If I had it's content:  </p>
  
  <pre><code>$("#id").remove();
  </code></pre>
  
  <p>I want dom item to be removed.  </p>
  
  <p><a href="http://code.google.com/p/pyv8/" rel="nofollow">PyV8</a> has perfect hello-world example.  But I'd like to see something usefull.</p>
  
  <p>To be clear, what I want to do is:<br>
  <code>"Javascript file"</code> -->-- <strong>magic</strong> -->-- <code>DOM, (already built with html file) and changed now with passed javascript file</code></p>