content mathml to infix notation using ctop.xsl not getting as desired format

前端 未结 1 1340
走了就别回头了
走了就别回头了 2021-01-22 20:59

I am trying to make math notation or infix expression from content mathml,

I am making help of ctop.xsl for this:

/***ctop.xsl**/

相关标签:
1条回答
  • 2021-01-22 21:53

    Your input is incorrect, it should be in the MathML namespace:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply><power></power><ci>x</ci><cn>2</cn></apply>
    </math>
    

    Not directly related to your problem but there is a newer, maintained, version of the ctop.xsl stylesheet here

    https://github.com/davidcarlisle/web-xslt/tree/master/ctop

    0 讨论(0)
提交回复
热议问题