title: content mathml to infix notation using ctop.xsl not getting as desired format
body: <p>I am trying to make math notation or infix expression from content mathml,</p>
  
  <p>I am making help of <code>ctop.xsl</code> for this:</p>
  
  <pre><code>/***ctop.xsl**/
  </code></pre>
  
  <p><a href="http://www.w3.org/Math/XSL/ctop.xsl" rel="nofollow">Refer</a></p>
  
  <p>It can be parsed to get the expression as follows:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script&gt;
  function loadXMLDoc(filename)
  {
  if (window.ActiveXObject)
    {
    xhttp = new ActiveXObject("Msxml2.XMLHTTP");
    }
  else 
    {
    xhttp = new XMLHttpRequest();
    }
  xhttp.open("GET", filename, false);
  try {xhttp.responseType = "msxml-document"} catch(err) {} // Helping IE11
  xhttp.send("");
  return xhttp.responseXML;
  }
  
  function displayResult()
  {
  xml = loadXMLDoc("contentmathml.xml");
  xsl = loadXMLDoc("ctop.xsl");
  // code for IE
  if (window.ActiveXObject || xhttp.responseType == "msxml-document")
    {
    ex = xml.transformNode(xsl);
    document.getElementById("example").innerHTML = ex;
    }
  // code for Chrome, Firefox, Opera, etc.
  else if (document.implementation &amp;&amp; document.implementation.createDocument)
    {
    xsltProcessor = new XSLTProcessor();
    xsltProcessor.importStylesheet(xsl);
    resultDocument = xsltProcessor.transformToFragment(xml, document);
    document.getElementById("example").appendChild(resultDocument);
    }
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body onload="displayResult()"&gt;
  &lt;div id="example" /&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here <strong>contentmathml.xml</strong> is my input</p>
  
  <p>I am having content mathml as :</p>
  
  <p><strong>Input:</strong></p>
  
  <pre><code>&lt;math&gt;&lt;apply&gt;&lt;power&gt;&lt;/power&gt;&lt;ci&gt;x&lt;/ci&gt;&lt;cn&gt;2&lt;/cn&gt;&lt;/apply&gt;&lt;/math&gt;
  </code></pre>
  
  <p>I am getting as  <strong>output: x2</strong></p>
  
  <p><strong>Expected: x^2</strong></p>
  
  <p>I tried again as <strong>input</strong>:</p>
  
  <pre><code>&lt;math&gt;&lt;apply&gt;&lt;sin&gt;&lt;/sin&gt;&lt;ci&gt;x&lt;/ci&gt;&lt;/apply&gt;&lt;/math&gt;
  </code></pre>
  
  <p><strong>output: sinx</strong>
  <strong>Expected output: sin(x)</strong>'</p>
  
  <p>How can I change the <strong>ctop.xsl</strong> in such a way to get the infix as output?</p>