title: Get raw content of Iframe
body: <p>I want to use Jquery or javascript to get the raw content (mean everycharacter) of an Iframe. It sounds simple but I'm still struggling with finding the right way for it.</p>
  
  <p>For now it is only a XML content in the Iframe though.
  Here the code:</p>
  
  <pre><code>$(function() {
  
      var xmlContent = $("#CFrame").contents().find("*").text();
  
      // The magic
      $('#SResult').xslt({xml: xmlContent, xslUrl: 'stylesheet/designSS.xsl'});
  });
  </code></pre>
  
  <p>The html page</p>
  
  <pre><code>&lt;form id="searchForm" method="GET" target="ContentFrame" action="http://125.235.8.210:380/search" onSubmit="processContent()"&gt;
          .....
      &lt;/form&gt;
  &lt;/div&gt;
  &lt;div id="SResult"&gt;
  &lt;/div&gt;
  &lt;iframe id="CFrame" name="ContentFrame" frameborder="1" height="2000px" width="1000px" scrolling="no" src="stylesheet/test.xml"&gt;&lt;/iframe&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Thanks,</p>