Math Display Problem

Hi,



I have downloaded and attached mathml.xsl, ctop.xsl and pmathml.xsl. But
Math Equation is not converting properly. It's display as a normal text.
Please anyone can help me and guide me what is wrong.



I have already installed techexplorer.



XML File ----



<?xml version="1.0" encoding="utf-8"?>

<?xml-stylesheet type="text/xsl" href="math1.xsl"?>

<component xmlns:xlink="http://www.w3.org/1999/xlink" id="langton8917c03">

<body id="langton8917c03-body">

<sect1 id="langton8917c03-sec1-0001">

<title>Control System Requirements</title>

<mathDisplay id="langton8917c03-mdis-0002" numbered="no">

<math
display='block'><mrow><mrow><mfrac><mrow><mn>1</mn></mrow><mrow><mn>1</mn><mo>-</mo><mfrac><mrow><mn>1</mn></mrow><mrow><mrow><mrow><mfenced><mrow><mrow><mn>1</mn><mo>+</mo><mi
mathvariant='italic'>TD</mi></mrow></mrow></mfenced></mrow></mrow><mrow><mo></mo></mrow></mrow></mfrac></mrow></mfrac></mrow><mo>=</mo><mfrac><mrow><mrow><mrow><mfenced><mrow><mrow><mn>1</mn><mo>+</mo><mi
mathvariant='italic'>TD</mi></mrow></mrow></mfenced></mrow></mrow></mrow><mrow><mi>D</mi></mrow></mfrac><mo>.</mo></mrow></math>

</mathDisplay>

<mathDisplay id="langton8917c03-mdis-0001" numbered="no">

<math
display="block"><mrow><mrow><mrow><mrow><mfenced><mrow><mfrac><mrow><mrow><msub><mrow><mi>K</mi></mrow><mrow><mi
mathvariant="normal">I</mi></mrow></msub></mrow></mrow><mrow><mi>D</mi></mrow></mfrac><mo>+</mo><mrow><msub><mrow><mi>K</mi></mrow><mrow><mi
mathvariant="normal">P</mi></mrow></msub></mrow></mrow></mfenced></mrow></mrow><mo>=</mo><mspace
width="0.3em"/><mrow><mfrac><mrow><mrow><msub><mrow><mi>K</mi></mrow><mrow><mi>I</mi></mrow></msub></mrow><mrow><mfenced><mrow><mn>1</mn><mo>+</mo><mfrac><mrow><mrow><msub><mrow><mi>K</mi></mrow><mrow><mi
mathvariant="normal">P</mi></mrow></msub></mrow></mrow><mrow><mrow><msub><mrow><mi>K</mi></mrow><mrow><mi
mathvariant="normal">I</mi></mrow></msub></mrow></mrow></mfrac><mi>D</mi></mrow></mfenced></mrow></mrow><mrow><mi>D</mi></mrow></mfrac></mrow><mspace
width="0.3em"/><mi>or</mi><mspace
width="0.3em"/><mfrac><mrow><mrow><msub><mrow><mi>K</mi></mrow><mrow><mi
mathvariant="normal">I</mi></mrow></msub></mrow><mrow><mfenced><mrow><mn>1</mn><mo>+</mo><mi
mathvariant="italic">TD</mi></mrow></mfenced></mrow></mrow><mrow><mi>D</mi></mrow></mfrac></mrow></mrow></math>

</mathDisplay>

</sect1>

</body>

</component>



XSL File ----



<?xml version="1.0" encoding="iso-8859-1"?>

<xsl:stylesheet version="1.0"

      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

      xmlns:xlink="http://www.w3.org/1999/xlink"

      xmlns:h="http://www.w3.org/1999/xhtml"

      xmlns:m="http://www.w3.org/TR/2001/REC-MathML2-20010221"

      xmlns:doc="http://www.dcarlisle.demon.co.uk/xsldoc"

      xmlns:x="data:,x"

      xmlns:mml="http://www.w3.org/1998/Math/MathML">



<xsl:import href="mathml.xsl"/>



<xsl:template match="component">

<xsl:apply-templates/>

</xsl:template>



<xsl:template match="mathDisplay">

<p><xsl:apply-templates/></p>

</xsl:template>



</xsl:stylesheet>



I have tied many option but not succeed.



Thanks

Byomkesh

Received on Saturday, 2 December 2006 01:50:38 UTC