title: XSLT transformation through javascript Only for IE
body: <p>In Microsoft Internet Explorer we can use Msxml2.DOMDocument.6.0 activeX component</p>
  
  <p>to do xslt based transformation using the transformNode() method. We can load an xml</p>
  
  <p>or xslt by the following method :</p>
  
  <pre><code>var activeX = new ActiveXObject("Msxml2.DOMDocument.6.0");
  activeX.load('webdirectories/xml/somefile.xml');
  </code></pre>
  
  <p>but can we load an xml by providing the xml as a string variable instead of providing the</p>
  
  <p>location of the xml file? something like this-</p>
  
  <pre><code>var xmlFileContents = '&lt;?xml version="1.0"?&gt;&lt;books&gt; .... &lt;/books&gt;';
  </code></pre>