Dreas Mr. Shafie,

Thank you!  I did not succeed completely:

1) I see the message "MathML Here!" when using your first suggestion. So the
code in the css-file is read/active.
2) I see an icon "unknwn document format" instead of the equation when using
your secong suggestion. (see screenshots)

Does this mean anything to you? It looks as if the JEuclid package is not
recognized when the MathML code is met by the processor?

Kindest regards
Thomas
 

> -----Urspr?ngliche Nachricht-----
> Von: Hussein Shafie [mailto:hussein at xmlmind.com] 
> Gesendet: Dienstag, 10. Juni 2008 16:29
> An: Thomas Dumm
> Cc: xmleditor-support at xmlmind.com
> Betreff: Re: [XXE] Question conerning MathML & Jeuclid
> 
> [1] To make it simpler, please remove our MathML add-on and 
> keep just the JEuclid add-on.
> 
> [2] Unlike future v4, XMLmind XML Editor v3 is not 
> namespace-aware when the document being edited conforms to a 
> DTD. Therefore please do not use namespaces in your CSS.
> 
> Please try something like this:
> 
> ---
> m\:math {
>    display: inline;
> }
> 
> FormulaEntity > m\:math {
>    content: "MathML Here!";
> }
> ---
> 
> And if it works, try:
> 
> ---
> m\:math {
>    display: inline;
> }
> 
> FormulaEntity > m\:math {
>    content: image-viewport(data-type, XML); }
> ---
> 
> Thomas Dumm wrote:
> >  
> > 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>
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen1.jpg
Type: image/jpeg
Size: 31988 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080610/202c2052/attachment.jpg
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen2.jpg
Type: image/jpeg
Size: 8123 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080610/202c2052/attachment-0001.jpg
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen.jpg
Type: image/jpeg
Size: 38052 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080610/202c2052/attachment-0002.jpg
 

Reply via email to