title: appendChild not working with window.open in IE
body: <p>I have a page with an svg tag. The page has a button called "Preview" which on clicking should  open a new window with the image (svg).</p>
  
  <p>Below is a piece of code which works in Chrome/Firefox but not in IE (I'm using IE 9- IE9 standards mode)</p>
  
  <pre><code>var w = window.open();
  var svg = $('#chart');              
  var svgPrint = svg.cloneNode(true);
  svgPrint.setAttribute('xmlns','http://www.w3.org/2000/svg');
  w.document.body.appendChild(svgPrint);
  </code></pre>
  
  <p>Any suggestions would be highly appreciated.</p>
  
  <p>Thanks.</p>