title: Howto extract a complete DOM Tree out of an HTML Page
body: <p>I have to comparare two web pages and analyse if there is any difference between them. 
  The problem is: i need to include every DOM element (also the ones that are added dynamically through javascript), AND i need to include all applied CSS settings (aka. computed style).</p>
  
  <p>For example: if there is an CSS <code>:hover</code> setting defined, I need to get a different result when my mouse  is over the element, than when it is not over the  element.</p>
  
  <p>Maybe I could make an javascript iteration through every element of the page, ask for every css setting and for every child DOM element. But i think this would take a long time and would blow the resulting DOM and make it more difficult to compare.</p>
  
  <p>Any ideas?? Thanks!!</p>