title: sonarqube embedded javascript in xml support?
body: <p>we're looking at using sonarqube for code inspections for our application that is run inside an internal tool and all javascript code is embedded in xml files as below within the CDATA block. What's the best way of allowing sonarqube to properly inspect the embedded javascript code? Just extract the javascript code and then run sonarqube on that extracted code - we tried that and it works but we wouldn't get the parameters verified etc...</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;script name="test.test2.test3.testFunction"&gt;
     &lt;label&gt;testFunction&lt;/label&gt;
     &lt;metaVersion&gt;25&lt;/metaVersion&gt;
     &lt;parameterList&gt;
      &lt;parameter name="par1" type="rifp"/&gt;
      &lt;parameter name="par2" type="rifp"/&gt;
    &lt;/parameterList&gt;
    &lt;script&gt;&lt;![CDATA[
      if(par1==par2){
          return true;
      }
    ]]&gt;&lt;/script&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>Regards,
  Mikael</p>