Dear Mr Shafie,
I do not manage to make XMLMind 3.8.1 & JEuclid to properly ***display***
MathML contained in the xml File obeying a dtd.
(I know, that presently it is not possible to natively ***edit*** MathML
with XMLMind in document s abeying a dtd. Looking forward to release 4 :-) )
My css file contains this:
-------------------------------------
@namespace m "http://www.w3.org/1998/Math/MathML";
m|math {
display: inline;
}
FormulaEntity> m|math {
content: image-viewport(data-type, XML);
}
My xml File contains this:
----------------------------------------
<Body>Here comes an inline equation with an exponent and a fraction:
<FormulaEntity>
<m:math xmlns:m="http://www.w3.org/1998/Math/MathML">
<m:mrow xmlns:m="http://www.w3.org/1998/Math/MathML">
<m:mfrac xmlns:m="http://www.w3.org/1998/Math/MathML">
<m:mrow xmlns:m="http://www.w3.org/1998/Math/MathML">
<m:msup xmlns:m="http://www.w3.org/1998/Math/MathML">
<m:mrow xmlns:m="http://www.w3.org/1998/Math/MathML">
<m:mi xmlns:m="http://www.w3.org/1998/Math/MathML">a</m:mi>
</m:mrow>
<m:mrow xmlns:m="http://www.w3.org/1998/Math/MathML">
<m:mn xmlns:m="http://www.w3.org/1998/Math/MathML">2</m:mn>
</m:mrow>
</m:msup>
</m:mrow>
<m:mrow xmlns:m="http://www.w3.org/1998/Math/MathML">
<m:mn xmlns:m="http://www.w3.org/1998/Math/MathML">3</m:mn>
</m:mrow>
</m:mfrac>
</m:mrow>
</m:math>
</FormulaEntity>
</Body>
Kindest regards and thank you for any hint!
Thomas Dumm
--
Thomas Dumm
Redaktor f?r Mathematik und Physik, Leiter eMedien
Compendio Bildungsmedien
Hotzestrasse 33
Postfach
8042 Z?rich
Tel. 044 368 21 45
Fax 044 368 21 70
www.compendio.ch <http://www.compendio.ch/>
www.bildungsmedien-nach-mass.ch <http://www.bildungsmedien-nach-mass.ch/>
www.eduscout.ch <http://www.eduscout.ch/>