Hello,

I am developing a XML application that uses XSLT in order to transform

math lessons written in XML to XHTML. I write TEX equation between math

tags, for instance :

<math>a^2+b^2=c^2</math>

This code is transformed to MathML with OpenMathTag. The previous example

would give :

<math><msup><mi>a</mi><mn>2</mn>.... </math>

And eventually the XSL template is applied to the XML document. I use the

following XSL statement :

<xsl:template match="math">

<math displaystyle="true" xmlns="http://www.w3.org/1998/Math/MathML">

<xsl:value-of select="." />

</math>

</xsl:template>

Unfortunately this strips out all MathML tags. This is the output of the

previous example :

<math displaystyle="true" xmlns="http://www.w3.org/1998/Math/MathML">

a2+b2=c2

</math>

Do you know how I can have the XSL template just "copy" the code between

<math> and </math> tags without looking at it ?

I thought that the main difference between value-of and apply-templates

was that the former didn't recursively interpret node data unfortunately

this example seems to have proven me wrong.

Thanks in advance for help,

--

Nicole